aboutsummaryrefslogtreecommitdiff
path: root/autotests/ksharedconfigtest.cpp
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2018-09-14 07:04:05 +0200
committerLaurent Montel <montel@kde.org>2018-09-14 07:04:41 +0200
commit8b62375b2e072e31699d715509e80643918c6ac3 (patch)
tree49523749eacf49edd7be6de60df3de71e8d40ad2 /autotests/ksharedconfigtest.cpp
parent78aa01326a800aae9a14c3e15783c35d43a2f92b (diff)
downloadkconfig-8b62375b2e072e31699d715509e80643918c6ac3.tar.gz
kconfig-8b62375b2e072e31699d715509e80643918c6ac3.tar.bz2
Port deprecated method + use strict compile flags
Diffstat (limited to 'autotests/ksharedconfigtest.cpp')
-rw-r--r--autotests/ksharedconfigtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/ksharedconfigtest.cpp b/autotests/ksharedconfigtest.cpp
index ae3d40a2..281f7755 100644
--- a/autotests/ksharedconfigtest.cpp
+++ b/autotests/ksharedconfigtest.cpp
@@ -37,7 +37,7 @@ private:
void KSharedConfigTest::initTestCase()
{
- QStandardPaths::enableTestMode(true);
+ QStandardPaths::setTestModeEnabled(true);
m_path = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation)
+ QLatin1Char('/') + QCoreApplication::applicationName() + QStringLiteral("rc");