aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kconfig.cpp')
-rw-r--r--src/core/kconfig.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp
index 9f294209..c45643d2 100644
--- a/src/core/kconfig.cpp
+++ b/src/core/kconfig.cpp
@@ -202,11 +202,11 @@ QString KConfigPrivate::expandString(const QString &value)
if (!pEnv.isEmpty()) {
env = QString::fromLocal8Bit(pEnv.constData());
} else {
- if (aVarName == QStringLiteral("QT_DATA_HOME")) {
+ if (aVarName == QLatin1String("QT_DATA_HOME")) {
env = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
- } else if (aVarName == QStringLiteral("QT_CONFIG_HOME")) {
+ } else if (aVarName == QLatin1String("QT_CONFIG_HOME")) {
env = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation);
- } else if (aVarName == QStringLiteral("QT_CACHE_HOME")) {
+ } else if (aVarName == QLatin1String("QT_CACHE_HOME")) {
env = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation);
}
}