summaryrefslogtreecommitdiff
path: root/src/gui/kernel/qopenglcontext.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-03-06 22:41:26 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-14 08:04:12 +0100
commitb8112c8526a6e261c6e00bdb4fe6ceef3876d01f (patch)
tree414d6b322275bfe454ade0d224c2dc04131d3ccc /src/gui/kernel/qopenglcontext.h
parent91248b0f3b40aaebb0e02a127ee936b581b10eab (diff)
downloadqtbase-b8112c8526a6e261c6e00bdb4fe6ceef3876d01f.tar.gz
QtGui: make some constructors explicit
This is a semi-automatic search, so I'm reasonably sure that all the exported ones have been caught. Change-Id: I5b122db2498dbb2aee50c7ad95c67e708aade45b Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui/kernel/qopenglcontext.h')
-rw-r--r--src/gui/kernel/qopenglcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qopenglcontext.h b/src/gui/kernel/qopenglcontext.h
index 52f94a8a10..5e1cd17635 100644
--- a/src/gui/kernel/qopenglcontext.h
+++ b/src/gui/kernel/qopenglcontext.h
@@ -94,7 +94,7 @@ class Q_GUI_EXPORT QOpenGLContext : public QObject
Q_OBJECT
Q_DECLARE_PRIVATE(QOpenGLContext)
public:
- QOpenGLContext(QObject *parent = 0);
+ explicit QOpenGLContext(QObject *parent = 0);
~QOpenGLContext();
void setFormat(const QSurfaceFormat &format);