Remove unused non-trivial variables. [-Wclazy-unused-non-trivial-variable] Thanks Clazy!

This commit is contained in:
Mateusz Skowroński
2019-01-30 20:07:40 +01:00
committed by wmayer
parent 317bcd59c9
commit 082647b2d1
5 changed files with 0 additions and 5 deletions

View File

@@ -428,7 +428,6 @@ void WorkbenchComboBox::actionEvent ( QActionEvent* e )
int index = this->findData(data);
// added a workbench
if (index < 0 && action->isVisible()) {
QString text = action->text();
QIcon icon = action->icon();
if (icon.isNull())
this->addItem(action->text(), data);