History

Added workaround to enable menu bar under Linux

vladest committed 9 years ago

Commit 0a9bebe1 parent a1c52ea1 file · +4 −0Browse files

Showing the changes to interface/src/main.cpp (1 of 1 file). Show all

Unified · Split

interface/src/main.cpp+4−0
@@ -49,6 +49,10 @@ int main(int argc, const char* argv[]) { · 48 unmodified lines
4949 CrashReporter crashReporter { BUG_SPLAT_DATABASE, BUG_SPLAT_APPLICATION_NAME, BuildInfo::VERSION };
5050 #endif
5151
52+#ifdef Q_OS_UNIX
53+ QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar);
54+#endif
55+
5256 disableQtBearerPoll(); // Fixes wifi ping spikes
5357
5458 QElapsedTimer startupTime;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t