Fix macOS application menu

This commit is contained in:
Norman Heino 2019-05-05 13:39:52 +02:00
parent a5c1e8204c
commit a074cffa5b

View File

@ -117,10 +117,9 @@ void MainWindow::SetupGUI()
setWindowTitle(STR_TR_OSCAR + QString(" %1").arg(version));
#ifdef Q_OS_MAC
ui->action_About->setMenuRole(QAction::ApplicationSpecificRole);
ui->action_Preferences->setMenuRole(QAction::ApplicationSpecificRole);
ui->action_Exit->setMenuRole(QAction::ApplicationSpecificRole);
ui->action_Preferences->setShortcuts(QKeySequence::Preferences);
#endif
ui->actionToggle_Line_Cursor->setChecked(AppSetting->lineCursorMode());