Qt's translation moved to 'translations' folder.
--HG-- branch : release
This commit is contained in:
parent
9031ce633a
commit
712886e39c
|
@ -82,7 +82,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
QTranslator qtTranslator;
|
QTranslator qtTranslator;
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
qtTranslator.load("qt_" + checkedLocale, QCoreApplication::applicationDirPath());
|
qtTranslator.load("qt_" + checkedLocale, qApp->translationsPath());
|
||||||
#else
|
#else
|
||||||
qtTranslator.load("qt_" + checkedLocale, QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
qtTranslator.load("qt_" + checkedLocale, QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user