OSDN Git Service

khotkeys: fix a compiler warning
authorIvailo Monev <xakepa10@gmail.com>
Wed, 19 Aug 2015 01:18:16 +0000 (04:18 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Wed, 19 Aug 2015 01:18:16 +0000 (04:18 +0300)
khotkeys/kcm_hotkeys/hotkeys_context_menu.cpp

index 7c98e4e..18e84f4 100644 (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());
     }