Use GlSwapStrategy in property definition

At least supportInformation did not like a char there at all.
This commit is contained in:
Martin Gräßlin 2013-05-22 09:26:04 +02:00
parent 1446fd6a38
commit cb77b468f8

View file

@ -184,7 +184,7 @@ class Options : public QObject, public KDecorationOptions
**/
Q_PROPERTY(bool glLegacy READ isGlLegacy WRITE setGlLegacy NOTIFY glLegacyChanged)
Q_PROPERTY(bool glCoreProfile READ glCoreProfile WRITE setGLCoreProfile NOTIFY glCoreProfileChanged)
Q_PROPERTY(char glPreferBufferSwap READ glPreferBufferSwap WRITE setGlPreferBufferSwap NOTIFY glPreferBufferSwapChanged)
Q_PROPERTY(GlSwapStrategy glPreferBufferSwap READ glPreferBufferSwap WRITE setGlPreferBufferSwap NOTIFY glPreferBufferSwapChanged)
public:
explicit Options(QObject *parent = NULL);