diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-13 11:28:41 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-14 06:54:52 +0000 |
commit | c84f7554894cef0cbeeba8a61f441286e190a797 (patch) | |
tree | bbfe642ede0ff52f31d5c23a052cb0d9ff1e8b72 /src/plugins/platforms/offscreen/qoffscreenintegration.h | |
parent | e4206c3cd5f3cdf431fb7aae9a790f303be0e616 (diff) |
Offscreen QPA: Use fusion style always
Prevent it from crashing when naively using it for example
on Windows, which defaults to the Windows Vista style operating
on native window handles.
Change-Id: I7b1dfb00a6b6860d0f0a134653ce1142b45959ec
Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/plugins/platforms/offscreen/qoffscreenintegration.h')
-rw-r--r-- | src/plugins/platforms/offscreen/qoffscreenintegration.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration.h b/src/plugins/platforms/offscreen/qoffscreenintegration.h index 569ec8fc28..f72587d11a 100644 --- a/src/plugins/platforms/offscreen/qoffscreenintegration.h +++ b/src/plugins/platforms/offscreen/qoffscreenintegration.h @@ -69,6 +69,9 @@ public: QPlatformFontDatabase *fontDatabase() const Q_DECL_OVERRIDE; QAbstractEventDispatcher *createEventDispatcher() const Q_DECL_OVERRIDE; + QStringList themeNames() const; + QPlatformTheme *createPlatformTheme(const QString &name) const; + static QOffscreenIntegration *createOffscreenIntegration(); private: |