diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/main.cpp b/gui/main.cpp index 1f1445c3..661b3d19 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -11,6 +11,7 @@ #include "main-window.hpp" #include "options/options.hpp" using namespace options; +#include "opentrack-library-path.h" #include <QApplication> #include <QCommandLineParser> #include <QStyleFactory> @@ -144,7 +145,7 @@ main(int argc, char** argv) if (!QSettings(OPENTRACK_ORG).value("disable-translation", false).toBool()) { - (void) t.load(QLocale(), "", "", QCoreApplication::applicationDirPath() + "/i18n", ".qm"); + (void) t.load(QLocale(), "", "", QCoreApplication::applicationDirPath() + "/" + OPENTRACK_I18N_PATH, ".qm"); (void) QCoreApplication::installTranslator(&t); } |