--- a/gui/translationhandler.cpp 2020-10-03 11:05:53.000000000 +0200 | |
+++ b/gui/translationhandler.cpp 2020-10-17 17:51:44.033531900 +0200 | |
@@ -111,7 +111,7 @@ | |
//Load the new language | |
const QString appPath = QFileInfo(QCoreApplication::applicationFilePath()).canonicalPath(); | |
- QString datadir = getDataDir(); | |
+ QString datadir = appPath + "/../share/cppcheck/lang/"; | |
QString translationFile; | |
if (QFile::exists(datadir + "/lang/" + mTranslations[index].mFilename + ".qm")) |