Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
cbd391b1
Commit
cbd391b1
authored
Feb 08, 2015
by
Fabio Bas
Browse files
Second attempt based on feedback
re-split the menus, but rename the cockatrice one to “actions”
parent
32fb532a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/window_main.cpp
View file @
cbd391b1
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment