Gui: [skip ci] support different context in Command::translatedGroupName

This commit is contained in:
wmayer
2021-09-29 15:44:44 +02:00
parent 76da77f80e
commit f1431f06c9

View File

@@ -582,10 +582,8 @@ void Command::setGroupName(const char* s)
QString Command::translatedGroupName() const
{
QString text = qApp->translate(className(), getGroupName());
#if 0 // not yet activated
if (text == QString::fromLatin1(getGroupName()))
text = qApp->translate("Workbench", getGroupName());
#endif
return text;
}