Remove unused non-trivial variables. [-Wclazy-unused-non-trivial-variable] Thanks Clazy!
This commit is contained in:
committed by
wmayer
parent
317bcd59c9
commit
082647b2d1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user