diff --git a/khotkeys/kcm_hotkeys/hotkeys_context_menu.cpp b/khotkeys/kcm_hotkeys/hotkeys_context_menu.cpp index 7c98e4e3..18e84f4a 100644 --- a/khotkeys/kcm_hotkeys/hotkeys_context_menu.cpp +++ b/khotkeys/kcm_hotkeys/hotkeys_context_menu.cpp @@ -413,6 +413,7 @@ void HotkeysTreeViewContextMenu::deleteAction() bool deletionSuccess; deletionSuccess = _view->model()->removeRow(_index.row(), _index.parent()); Q_ASSERT(deletionSuccess == true); + Q_UNUSED(deletionSuccess); _view->setCurrentIndex(QModelIndex()); }