Declare metatype for KWin::OpenGLPlatformInterface
Fixes warning when invoking supportInformation.
This commit is contained in:
parent
468b5a32ff
commit
2ef0973a87
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,7 @@ class Options : public QObject
|
|||
Q_PROPERTY(bool glStrictBindingFollowsDriver READ isGlStrictBindingFollowsDriver WRITE setGlStrictBindingFollowsDriver NOTIFY glStrictBindingFollowsDriverChanged)
|
||||
Q_PROPERTY(bool glCoreProfile READ glCoreProfile WRITE setGLCoreProfile NOTIFY glCoreProfileChanged)
|
||||
Q_PROPERTY(GlSwapStrategy glPreferBufferSwap READ glPreferBufferSwap WRITE setGlPreferBufferSwap NOTIFY glPreferBufferSwapChanged)
|
||||
Q_PROPERTY(OpenGLPlatformInterface glPlatformInterface READ glPlatformInterface WRITE setGlPlatformInterface NOTIFY glPlatformInterfaceChanged)
|
||||
Q_PROPERTY(KWin::OpenGLPlatformInterface glPlatformInterface READ glPlatformInterface WRITE setGlPlatformInterface NOTIFY glPlatformInterfaceChanged)
|
||||
public:
|
||||
|
||||
explicit Options(QObject *parent = NULL);
|
||||
|
@ -945,5 +945,6 @@ extern Options* options;
|
|||
} // namespace
|
||||
|
||||
Q_DECLARE_METATYPE(KWin::Options::WindowOperation)
|
||||
Q_DECLARE_METATYPE(KWin::OpenGLPlatformInterface)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue