Use main window menu bar for macOS MAP65

This commit is contained in:
Bill Somerville 2021-05-21 01:23:26 +01:00
parent 07d5fd23bb
commit 5a3d0d7e21
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -20,6 +20,8 @@ int main(int argc, char *argv[])
// Override programs executable basename as application name.
a.setApplicationName ("MAP65");
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;
w.show ();
QObject::connect (&a, &QApplication::lastWindowClosed, &a, &QApplication::quit);