removed unnecesary code
This commit is contained in:
parent
7f493cca08
commit
eddd8a3654
1 changed files with 1 additions and 4 deletions
|
@ -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; }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue