path: root/src/plugins/platforms/wasm
diff options
authorRichard Moe Gustavsen <>2020-09-10 14:49:22 +0200
committerRichard Moe Gustavsen <>2020-09-12 08:38:39 +0200
commit43fa4b26870daffd4d44a42941bad141f6594db4 (patch)
treefc41279e1bd2ee8f99f36e4913e37bf31607fc3f /src/plugins/platforms/wasm
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ø <> Reviewed-by: Mitch Curtis <>
Diffstat (limited to 'src/plugins/platforms/wasm')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wasm/qwasmtheme.cpp b/src/plugins/platforms/wasm/qwasmtheme.cpp
index 978d60d686..4b99f90591 100644
--- a/src/plugins/platforms/wasm/qwasmtheme.cpp
+++ b/src/plugins/platforms/wasm/qwasmtheme.cpp
@@ -50,7 +50,7 @@ QWasmTheme::~QWasmTheme()
QVariant QWasmTheme::themeHint(ThemeHint hint) const
if (hint == QPlatformTheme::StyleNames)
- return QVariant(QStringList() << QLatin1String("fusion"));
+ return QVariant(QStringList() << QLatin1String("Fusion"));
return QPlatformTheme::themeHint(hint);