aboutsummaryrefslogtreecommitdiffstats
path: root/core/qt-init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r--core/qt-init.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp
index 18f9a6ef7..ef8af3337 100644
--- a/core/qt-init.cpp
+++ b/core/qt-init.cpp
@@ -79,9 +79,7 @@ void init_qt_late()
QLocale::setDefault(loc);
QString translationLocation;
-#if defined(Q_OS_ANDROID)
- translationLocation = QLatin1String("assets:/translations");
-#elif defined(Q_OS_IOS)
+#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
translationLocation = QLatin1String(":/");
#else
translationLocation = QLibraryInfo::location(QLibraryInfo::TranslationsPath);