From 07958ce53fd1f23786025ed78166289692baf5e8 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 7 Oct 2024 10:40:41 +0200 Subject: [PATCH] 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 --- src/gui/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);