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
PIM
KAddressBook
Commits
dec73264
Commit
dec73264
authored
Jul 16, 2021
by
Laurent Montel
😁
Browse files
Use new constructor
parent
4d9a34dd
Pipeline
#70590
failed with stage
in 5 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
dec73264
...
...
@@ -108,7 +108,11 @@ void MainWindow::configure()
void
MainWindow
::
configureKeyBindings
()
{
#if KXMLGUI_VERSION <= QT_VERSION_CHECK(5, 84, 0)
KShortcutsDialog
*
dlg
=
new
KShortcutsDialog
(
KShortcutsEditor
::
AllActions
,
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
);
#else
KShortcutsDialog
*
dlg
=
new
KShortcutsDialog
(
this
);
#endif
dlg
->
setAttribute
(
Qt
::
WA_DeleteOnClose
);
dlg
->
setModal
(
false
);
dlg
->
addCollection
(
actionCollection
());
...
...
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