khotkeys: fix a compiler warning

This commit is contained in:
Ivailo Monev 2015-08-19 04:18:16 +03:00
parent b79922b836
commit 3b69a10bad

View file

@ -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());
}