mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 20:42:12 +02:00
Merge pull request #11478 from vladest/fix_menu_linux
Added workaround to enable menu bar under Linux
This commit is contained in:
commit
ea4068f1f9
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,10 @@ int main(int argc, const char* argv[]) {
|
|||
CrashReporter crashReporter { BUG_SPLAT_DATABASE, BUG_SPLAT_APPLICATION_NAME, BuildInfo::VERSION };
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar);
|
||||
#endif
|
||||
|
||||
disableQtBearerPoll(); // Fixes wifi ping spikes
|
||||
|
||||
QElapsedTimer startupTime;
|
||||
|
|
Loading…
Reference in a new issue