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
System
KHelpCenter
Commits
0a4d9b87
Commit
0a4d9b87
authored
Dec 09, 2020
by
Laurent Montel
😁
Browse files
operator+/- is disabled for QFlags in qt6
parent
804844f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
mainwindow.cpp
View file @
0a4d9b87
...
...
@@ -230,7 +230,7 @@ void MainWindow::setupActions()
QAction
*
nextPage
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"nextPage"
)
);
nextPage
->
setText
(
i18n
(
"Next Page"
)
);
actionCollection
()
->
setDefaultShortcut
(
nextPage
,
Qt
::
CTRL
+
Qt
::
Key_PageDown
);
actionCollection
()
->
setDefaultShortcut
(
nextPage
,
Qt
::
CTRL
|
Qt
::
Key_PageDown
);
nextPage
->
setWhatsThis
(
i18n
(
"Moves to the next page of the document"
)
);
connect
(
nextPage
,
&
QAction
::
triggered
,
mDoc
,
&
View
::
nextPage
);
...
...
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