Skip to content

Commit

Permalink
Merge pull request #1293 from Icenowy/no-globalmenu
Browse files Browse the repository at this point in the history
Force the use of in-window menu
  • Loading branch information
terminator356 authored Dec 3, 2024
2 parents 73a05e4 + 9c80fd3 commit 09b924e
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 09b924e

Please sign in to comment.