Skip to content

Commit

Permalink
switch folder wizar to modern style to avoid borken windows dark mode
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mgallien committed Oct 8, 2024
1 parent 08175cc commit cc8be6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/folderwizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,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);
Expand Down

0 comments on commit cc8be6a

Please sign in to comment.