Skip to content
Snippets Groups Projects
Commit 23e93609 authored by Jan's avatar Jan
Browse files

Reenabled translations

parent 7e90d26e
No related branches found
No related tags found
1 merge request!232Cmake jan (Translations and reduced includes
......@@ -331,7 +331,9 @@ int main(int argc, char **argv)
#if QT_VERSION_MAJOR < 6
qtTranslator.load("qt_" + tLang, QLibraryInfo::location(QLibraryInfo::TranslationsPath));
#else
qtTranslator.load("qt_" + tLang, QLibraryInfo::path(QLibraryInfo::TranslationsPath));
if ( ! qtTranslator.load("qt_" + tLang, QLibraryInfo::path(QLibraryInfo::TranslationsPath)) ) {
std::cerr << "Failed to load translation files!" << std::endl;
}
#endif
app.installTranslator(&qtTranslator);
......
Subproject commit 4fb3a2414f350f4f4a278dc8e9d01a1bb0b2f70d
Subproject commit 2f76d6392feed1abe0d21627ac715a2ec7b96a41
Subproject commit 7ff3a839f361bb533348148a6c63260a2c05c139
Subproject commit 825fb041e729baad352d64c368e3c399d84c6c7c
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment