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
|
#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
|
// Initialise logging
|
||||||
logging::Init();
|
logging::Init();
|
||||||
logging::SetLevels(options.log_levels());
|
logging::SetLevels(options.log_levels());
|
||||||
|
|
Loading…
Reference in New Issue