diff options
Diffstat (limited to 'src/gui/opengl')
-rw-r--r-- | src/gui/opengl/qopengldebug.h | 2 | ||||
-rw-r--r-- | src/gui/opengl/qopenglengineshadermanager_p.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/opengl/qopengldebug.h b/src/gui/opengl/qopengldebug.h index d0a4729d1f..eed52599d5 100644 --- a/src/gui/opengl/qopengldebug.h +++ b/src/gui/opengl/qopengldebug.h @@ -147,7 +147,6 @@ class QOpenGLDebugLoggerPrivate; class Q_GUI_EXPORT QOpenGLDebugLogger : public QObject { Q_OBJECT - Q_ENUMS(LoggingMode) Q_PROPERTY(LoggingMode loggingMode READ loggingMode) public: @@ -155,6 +154,7 @@ public: AsynchronousLogging, SynchronousLogging }; + Q_ENUM(LoggingMode) explicit QOpenGLDebugLogger(QObject *parent = 0); ~QOpenGLDebugLogger(); diff --git a/src/gui/opengl/qopenglengineshadermanager_p.h b/src/gui/opengl/qopenglengineshadermanager_p.h index 56aa18cb6b..4ae7c7d03b 100644 --- a/src/gui/opengl/qopenglengineshadermanager_p.h +++ b/src/gui/opengl/qopenglengineshadermanager_p.h @@ -324,7 +324,7 @@ public: TotalSnippetCount, InvalidSnippetName }; #if defined (QT_DEBUG) - Q_ENUMS(SnippetName) + Q_ENUM(SnippetName) static QByteArray snippetNameStr(SnippetName snippetName); #endif |