diff --git a/io/path.cpp b/io/path.cpp index c3a24f84a..1c7ba4b67 100644 --- a/io/path.cpp +++ b/io/path.cpp @@ -8,14 +8,8 @@ #include "debug.h" -QString real_app_dir; - QString get_app_dir() { - if (real_app_dir.isEmpty()) { - QString app_path = QCoreApplication::applicationFilePath(); - real_app_dir = app_path.left(app_path.lastIndexOf('/')); - } - return real_app_dir; + return QCoreApplication::applicationDirPath(); } QString get_data_path() { diff --git a/olive.pro b/olive.pro index 7e4384ea6..209931772 100644 --- a/olive.pro +++ b/olive.pro @@ -251,6 +251,7 @@ TRANSLATIONS += \ ts/olive_es.ts \ ts/olive_fr.ts \ ts/olive_it.ts \ + ts/olive_cs.ts \ ts/olive_ru.ts win32 {