From: Matthieu Gallien Date: Mon, 7 Oct 2024 08:40:41 +0000 (+0200) Subject: qml Windows native style is broken on dark mode: switch to Fusion X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~140^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=07958ce53fd1f23786025ed78166289692baf5e8;p=nextcloud-desktop.git qml Windows native style is broken on dark mode: switch to Fusion we will temporarily be using Fusion generic desktop style Close https://github.com/nextcloud/desktop/issues/7215 see upstream Qt bug https://bugreports.qt.io/browse/QTBUG-113469?focusedId=724929&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-724929 they apparently do not plan to fix Windows qml style to support dark mode on Windows 11 Signed-off-by: Matthieu Gallien --- diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 2e7649fe6..e91fb3be9 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -76,7 +76,7 @@ int main(int argc, char **argv) #if defined Q_OS_MAC style = QStringLiteral("macOS"); #elif defined Q_OS_WIN - style = QStringLiteral("Windows"); + style = QStringLiteral("Fusion"); #endif QQuickStyle::setStyle(style);