We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc34db2 commit fddf060Copy full SHA for fddf060
src/app/app.cpp
@@ -36,6 +36,10 @@ int App::run(int argc, char **argv)
36
QCoreApplication::setApplicationName("ScratchCPP Player");
37
QCoreApplication::setApplicationVersion(BUILD_VERSION);
38
39
+#ifdef Q_OS_MACOS
40
+ // Disable native menu bar on macOS
41
+ app.setAttribute(Qt::AA_DontUseNativeMenuBar);
42
+#endif
43
// Set style and icon theme name
44
QQuickStyle::setStyle("Material");
45
QIcon::setThemeName("scratchcpp");
0 commit comments