Commit 0ebd0242 authored by Nate Graham's avatar Nate Graham 🔩

Don't show unnecessary global shortcuts columns in keyboard shortcuts window

Elisa doesn't set any global shortcuts, so the columns are blank and
waste space.

BUG: 427072
FIXED-IN: 20.12
parent 50e4c045
Pipeline #35953 passed with stage
in 10 minutes and 52 seconds
......@@ -278,7 +278,7 @@ void ElisaApplication::reportBug()
void ElisaApplication::configureShortcuts()
{
#if defined KF5XmlGui_FOUND && KF5XmlGui_FOUND
KShortcutsDialog dlg(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsAllowed, nullptr);
KShortcutsDialog dlg(KShortcutsEditor::ApplicationAction, KShortcutsEditor::LetterShortcutsAllowed, nullptr);
dlg.setModal(true);
dlg.addCollection(&d->mCollection);
dlg.configure();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment