mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 18:38:24 +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 };
|
CrashReporter crashReporter { BUG_SPLAT_DATABASE, BUG_SPLAT_APPLICATION_NAME, BuildInfo::VERSION };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef Q_OS_LINUX
|
||||||
|
QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar);
|
||||||
|
#endif
|
||||||
|
|
||||||
disableQtBearerPoll(); // Fixes wifi ping spikes
|
disableQtBearerPoll(); // Fixes wifi ping spikes
|
||||||
|
|
||||||
QElapsedTimer startupTime;
|
QElapsedTimer startupTime;
|
||||||
|
|
Loading…
Reference in a new issue