summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengldebug.h
diff options
context:
space:
mode:
authorOlivier Goffart <[email protected]>2015-02-07 13:00:27 +0100
committerOlivier Goffart (Woboq GmbH) <[email protected]>2015-02-08 12:18:52 +0000
commite768d96e8bc161211b2d4ad377f3fb250f270a9b (patch)
treeffff4da772e6edee99b405660363b8192b20e49d /src/gui/opengl/qopengldebug.h
parentba7cedb058455942dda337223a170b4f9566f0ef (diff)
QtGui: use Q_ENUM instead of Q_ENUMS
Diffstat (limited to 'src/gui/opengl/qopengldebug.h')
-rw-r--r--src/gui/opengl/qopengldebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengldebug.h b/src/gui/opengl/qopengldebug.h
index d0a4729d1f8..eed52599d58 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();