summaryrefslogtreecommitdiffstats
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, 2 insertions, 2 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp
index 105742b82..d77abfb89 100644
--- a/core/qt-init.cpp
+++ b/core/qt-init.cpp
@@ -76,9 +76,9 @@ void init_qt_late()
qtTranslator = new QTranslator;
QString translationLocation;
#if defined(Q_OS_ANDROID)
- translationLocation = QLatin1Literal("assets:/translations");
+ translationLocation = QLatin1String("assets:/translations");
#elif defined(Q_OS_IOS)
- translationLocation = QLatin1Literal(":/");
+ translationLocation = QLatin1String(":/");
#else
translationLocation = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
#endif