Commit cbd391b1 authored by Fabio Bas's avatar Fabio Bas
Browse files

Second attempt based on feedback

re-split the menus, but rename the cockatrice one to “actions”
parent 32fb532a
......@@ -306,8 +306,11 @@ void MainWindow::retranslateUi()
aSettings->setText(tr("&Settings..."));
aExit->setText(tr("&Exit"));
#if defined(__APPLE__) /* For OSX */
cockatriceMenu->setTitle(tr("A&ctions"));
#else
cockatriceMenu->setTitle(tr("&Cockatrice"));
#endif
aAbout->setText(tr("&About Cockatrice"));
helpMenu->setTitle(tr("&Help"));
......@@ -339,12 +342,6 @@ void MainWindow::createActions()
connect(aAbout, SIGNAL(triggered()), this, SLOT(actAbout()));
#if defined(__APPLE__) /* For OSX */
aConnect->setMenuRole(QAction::ApplicationSpecificRole);
aDisconnect->setMenuRole(QAction::ApplicationSpecificRole);
aSinglePlayer->setMenuRole(QAction::ApplicationSpecificRole);
aWatchReplay->setMenuRole(QAction::ApplicationSpecificRole);
aDeckEditor->setMenuRole(QAction::ApplicationSpecificRole);
aFullScreen->setMenuRole(QAction::ApplicationSpecificRole);
aSettings->setMenuRole(QAction::PreferencesRole);
aExit->setMenuRole(QAction::QuitRole);
aAbout->setMenuRole(QAction::AboutRole);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment