Skip to content

Commit

Permalink
Disable the Qt windows 11 theme for now to fix layout issues
Browse files Browse the repository at this point in the history
There are still some outstanding bugs which have fixes in upcoming Qt releases, which may solve the playbar layout issues:
- https://bugreports.qt.io/browse/QTBUG-130288
- https://bugreports.qt.io/browse/QTBUG-130642

Fixes: #495, #497
  • Loading branch information
cameronwhite committed Nov 20, 2024
1 parent 937bb13 commit 3cdc23b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/build/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ class Application : public QApplication
public:
Application(int &argc, char **argv) : QApplication(argc, argv)
{
// On Windows, avoid the Qt windows11 theme for now since it has various layout issues (#495, #497)
#ifdef Q_OS_WIN
setStyle("windowsvista");
#endif
}

protected:
Expand Down

0 comments on commit 3cdc23b

Please sign in to comment.