refs #858, todo review (demoted, commented)

This commit is contained in:
Klaus Basan
2017-01-12 18:10:45 +01:00
committed by Mathew Sutcliffe
parent c2aeab0ab8
commit 61e7f23847
11 changed files with 21 additions and 23 deletions

View File

@@ -191,8 +191,6 @@ namespace BlackGui
Q_ASSERT_X(exisitingMenu.size() > 1, Q_FUNC_INFO, "Redundant menu entries");
Q_ASSERT_X(existingAction.getTitle() != title, Q_FUNC_INFO, "Title mismatch");
if (icon.isNull() || existingAction.hasIcon()) { return existingAction.getQAction(); }
//! \todo replace if we have icon now, but not before
return existingAction;
}