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
Utilities
Filelight
Commits
aa8658a5
Verified
Commit
aa8658a5
authored
Jun 20, 2021
by
Luca Beltrame
Browse files
Fix build with no deprecations using the new KShortcutsDialog API
parent
cd6d66c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainWindow.cpp
View file @
aa8658a5
...
@@ -209,7 +209,8 @@ void MainWindow::configToolbars() //slot
...
@@ -209,7 +209,8 @@ void MainWindow::configToolbars() //slot
void
MainWindow
::
configKeys
()
//slot
void
MainWindow
::
configKeys
()
//slot
{
{
KShortcutsDialog
::
configure
(
actionCollection
(),
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
,
true
);
KShortcutsDialog
::
configure
(
actionCollection
(),
KShortcutsEditor
::
LetterShortcutsAllowed
,
true
/*isModal*/
,
this
);
}
}
void
MainWindow
::
slotScanFolder
()
void
MainWindow
::
slotScanFolder
()
...
...
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