summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/offscreen
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-09-10 14:49:22 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-09-12 08:38:39 +0200
commit43fa4b26870daffd4d44a42941bad141f6594db4 (patch)
treefc41279e1bd2ee8f99f36e4913e37bf31607fc3f /src/plugins/platforms/offscreen
parentf7863bfdb90f25fa62a395f8bc80641a54c69179 (diff)
QStyle: return 'Fusion' instead of 'fusion'
This change should have no impact on Widgets, since style names there are case-insensitive. But for QtQuick controls the style names are case sensitive. So in order to use the style hint from the platform theme for controls, we need to return the name with an uppercase "F". Change-Id: I360f43f174938202b0ef2cdfcde6daf39c9f39bb Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/plugins/platforms/offscreen')
-rw-r--r--src/plugins/platforms/offscreen/qoffscreenintegration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp
index b7df94e60d..811e025f62 100644
--- a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp
+++ b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp
@@ -173,7 +173,7 @@ public:
{
switch (h) {
case StyleNames:
- return QVariant(QStringList(QStringLiteral("fusion")));
+ return QVariant(QStringList(QStringLiteral("Fusion")));
default:
break;
}