From 0a9bebeefc52c53577b4705de147f8d596caa3fd Mon Sep 17 00:00:00 2001 From: vladest Date: Thu, 28 Sep 2017 15:34:56 +0200 Subject: [PATCH] Added workaround to enable menu bar under Linux --- interface/src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/main.cpp b/interface/src/main.cpp index cb90160cfe..33053dd294 100644 --- a/interface/src/main.cpp +++ b/interface/src/main.cpp @@ -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_UNIX + QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar); +#endif + disableQtBearerPoll(); // Fixes wifi ping spikes QElapsedTimer startupTime;