Skip to content

Commit 685ac99

Browse files
committed
Use gtk3 theme on Linux
1 parent 3d8e635 commit 685ac99

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/appshell/appshell.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ int AppShell::run(int argc, char** argv)
6868
qputenv("QT_STYLE_OVERRIDE", "Fusion");
6969
qputenv("QML_DISABLE_DISK_CACHE", "true");
7070

71+
#ifdef Q_OS_LINUX
72+
qputenv("QT_QPA_PLATFORMTHEME", "gtk3");
73+
#endif
74+
7175
const char* appName;
7276
if (framework::Version::unstable()) {
7377
appName = "MuseScore4Development";

0 commit comments

Comments
 (0)