fix
This commit is contained in:
parent
e8211f4a68
commit
f9c2b12b1d
|
@ -112,8 +112,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
QTranslator qtBaseTranslator;
|
||||
qtBaseTranslator.load(QT_TRANSLATE_FILE);
|
||||
if (qtBaseTranslator.load(QT_TRANSLATE_FILE))
|
||||
if (qtBaseTranslator.load(QLocale(), "qt", "_", "/usr/share/qt5/translations//"))
|
||||
{
|
||||
a.installTranslator(&qtBaseTranslator);
|
||||
qDebug()<<"QtBase Translations load success";
|
||||
|
|
Loading…
Reference in New Issue