Showing the changes to interface/src/main.cpp (1 of 1 file). Show all
Unified · Split
| @@ -49,6 +49,10 @@ int main(int argc, const char* argv[]) { · 48 unmodified lines | |||
| 49 | CrashReporter crashReporter { BUG_SPLAT_DATABASE, BUG_SPLAT_APPLICATION_NAME, BuildInfo::VERSION }; | 49 | CrashReporter crashReporter { BUG_SPLAT_DATABASE, BUG_SPLAT_APPLICATION_NAME, BuildInfo::VERSION }; |
| 50 | #endif | 50 | #endif |
| 51 | 51 | ||
| 52 | #ifdef Q_OS_UNIX | ||
| 53 | QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar); | ||
| 54 | #endif | ||
| 55 | |||
| 52 | disableQtBearerPoll(); // Fixes wifi ping spikes | 56 | disableQtBearerPoll(); // Fixes wifi ping spikes |
| 53 | 57 | ||
| 54 | QElapsedTimer startupTime; | 58 | QElapsedTimer startupTime; |