Skip to content

Commit

Permalink
Go back to using the Qt Fusion style on Windows.
Browse files Browse the repository at this point in the history
Qt 6.7 and 6.8's Windows 11 theme is not as polished yet.
  • Loading branch information
orbitalquark committed Nov 8, 2024
1 parent 75623c2 commit c8118aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/textadept_qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,9 @@ class Application : public SingleApplication {
connect(this, &QApplication::aboutToQuit, this, &close_textadept);
// There is a bug in Qt where a tab scroll button could have focus at this time.
if (!SCI(focused_view)->hasFocus()) SCI(focused_view)->setFocus();
#if _WIN32
setStyle(QStyleFactory::create("Fusion"));
#endif
}
~Application() override {
if (inited) delete ta;
Expand Down

0 comments on commit c8118aa

Please sign in to comment.