From: Matthieu Gallien Date: Mon, 7 Oct 2024 11:51:41 +0000 (+0200) Subject: switch folder wizar to modern style to avoid borken windows dark mode X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~140^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8b1e3fcd9d8a091533881b3acfab7749e0fcaec9;p=nextcloud-desktop.git switch folder wizar to modern style to avoid borken windows dark mode the QWizard AeroStyle style is broken on windows dark mode, switch to ModernStyle that is working fine see upstream Qt bug: https://bugreports.qt.io/browse/QTBUG-123853 Signed-off-by: Matthieu Gallien --- diff --git a/src/gui/folderwizard.cpp b/src/gui/folderwizard.cpp index 7b4d35ba0..3b8ac7aac 100644 --- a/src/gui/folderwizard.cpp +++ b/src/gui/folderwizard.cpp @@ -670,6 +670,7 @@ FolderWizard::FolderWizard(AccountPtr account, QWidget *parent) , _folderWizardSourcePage(new FolderWizardLocalPath(account)) , _folderWizardSelectiveSyncPage(new FolderWizardSelectiveSync(account)) { + setWizardStyle(QWizard::ModernStyle); setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); setPage(Page_Source, _folderWizardSourcePage); _folderWizardSourcePage->installEventFilter(this);