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