mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Use main window menu bar for macOS MAP65
This commit is contained in:
parent
07d5fd23bb
commit
5a3d0d7e21
@ -20,6 +20,8 @@ int main(int argc, char *argv[])
|
|||||||
// Override programs executable basename as application name.
|
// Override programs executable basename as application name.
|
||||||
a.setApplicationName ("MAP65");
|
a.setApplicationName ("MAP65");
|
||||||
a.setApplicationVersion ("3.0.0-devel");
|
a.setApplicationVersion ("3.0.0-devel");
|
||||||
|
// switch off as we share an Info.plist file with WSJT-X
|
||||||
|
a.setAttribute (Qt::AA_DontUseNativeMenuBar);
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
w.show ();
|
w.show ();
|
||||||
QObject::connect (&a, &QApplication::lastWindowClosed, &a, &QApplication::quit);
|
QObject::connect (&a, &QApplication::lastWindowClosed, &a, &QApplication::quit);
|
||||||
|
Loading…
Reference in New Issue
Block a user