diff --git a/kcms/keys/shortcutsmodel.cpp b/kcms/keys/shortcutsmodel.cpp --- a/kcms/keys/shortcutsmodel.cpp +++ b/kcms/keys/shortcutsmodel.cpp @@ -403,6 +403,7 @@ }); if (shortcut == component->shortcuts.end()) { qCWarning(KCMKEYS) << "Ignoring unknown action" << key; + continue; } const auto shortcuts = QKeySequence::listFromString(shortcutsGroup.readEntry(key)); shortcut->activeShortcuts = QSet(shortcuts.cbegin(), shortcuts.cend());