Skip to content

Commit

Permalink
Force the use of in-window menu
Browse files Browse the repository at this point in the history
KDE global menu with MusE sucks.

Signed-off-by: Icenowy Zheng <[email protected]>
  • Loading branch information
Icenowy committed Dec 2, 2024
1 parent 73a05e4 commit 9c80fd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/muse/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ int main(int argc, char* argv[])
MusEGlobal::config.startSong = "";
}

app.instance()->setAttribute(Qt::AA_DontUseNativeMenuBar, true);
app.instance()->setAttribute(Qt::AA_DontShowIconsInMenus, !MusEGlobal::config.showIconsInMenus);
app.instance()->setAttribute(Qt::AA_DontUseNativeDialogs, !MusEGlobal::config.useNativeStandardDialogs);

Expand Down

0 comments on commit 9c80fd3

Please sign in to comment.