mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-07-01 00:28:12 +02:00
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;
|
||||
#if defined(Q_OS_WIN)
|
||||
qtTranslator.load("qt_" + checkedLocale, QCoreApplication::applicationDirPath());
|
||||
qtTranslator.load("qt_" + checkedLocale, qApp->translationsPath());
|
||||
#else
|
||||
qtTranslator.load("qt_" + checkedLocale, QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue