Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KNetWalk
Commits
8f22ee8b
Commit
8f22ee8b
authored
Dec 09, 2020
by
Laurent Montel
😁
Browse files
operator+/- is disabled for QFlags in qt6
parent
4661b51d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
8f22ee8b
...
...
@@ -170,7 +170,7 @@ void MainWindow::setupActions()
actionCollection
()
->
addAction
(
QStringLiteral
(
"kb_turn_clockwise"
),
action
);
action
=
new
QAction
(
i18n
(
"Keyboard: Turn counterclockwise"
),
this
);
actionCollection
()
->
setDefaultShortcut
(
action
,
Qt
::
CTRL
+
Qt
::
Key_Return
);
actionCollection
()
->
setDefaultShortcut
(
action
,
Qt
::
CTRL
|
Qt
::
Key_Return
);
connect
(
action
,
SIGNAL
(
triggered
()),
m_view
->
rootObject
(),
SLOT
(
rotateCounterclockwise
()));
actionCollection
()
->
addAction
(
QStringLiteral
(
"kb_turn_counterclockwise"
),
action
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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