Qt's translation moved to 'translations' folder.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2015-04-29 12:40:21 +03:00
parent 9031ce633a
commit 712886e39c

View File

@ -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