+ fix warning of unused variable

+ when clearing scene graph then also empty internal lists
+ whitespace changes
This commit is contained in:
wmayer
2016-03-22 19:25:38 +01:00
parent 178505a00a
commit f023d54b45
2 changed files with 34 additions and 43 deletions

View File

@@ -453,7 +453,7 @@ void DocumentRecovery::contextMenuEvent(QContextMenuEvent* ev)
QList<QTreeWidgetItem*> items = d_ptr->ui.treeWidget->selectedItems();
if (!items.isEmpty()) {
QMenu menu;
QAction* rem = menu.addAction(tr("Delete"), this, SLOT(onDeleteSection()));
menu.addAction(tr("Delete"), this, SLOT(onDeleteSection()));
menu.exec(ev->globalPos());
}
}