removed unnecesary code

This commit is contained in:
Jeremy Bullock 2016-07-10 18:45:34 -06:00
parent 7f493cca08
commit eddd8a3654

View file

@ -49,10 +49,7 @@ public:
text.remove("&");
setText(0, text);
QString shortcut = m_action->shortcut().toString();
if (shortcut != "")
setText(1, shortcut);
else
setText(1, "");
setText(1, shortcut);
}
QAction *getAction() const { return m_action; }
};