aboutsummaryrefslogtreecommitdiff
path: root/autotests/ksharedconfigtest.cpp
diff options
context:
space:
mode:
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");