mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-18 12:32:09 +01:00
Force the menubar to be shown in the Clementine window instead of in Unity's global menubar thing.
This commit is contained in:
parent
03e30d19c4
commit
bde558f655
@ -316,6 +316,13 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
// Force Clementine's menu to be shown in the Clementine window and not in
|
||||
// the Unity global menubar thing. See:
|
||||
// https://bugs.launchpad.net/ubuntu/+source/appmenu-gtk/+bug/674047
|
||||
setenv("QT_X11_NO_NATIVE_MENUBAR", "1", true);
|
||||
#endif
|
||||
|
||||
// Initialise logging
|
||||
logging::Init();
|
||||
logging::SetLevels(options.log_levels());
|
||||
|
Loading…
Reference in New Issue
Block a user