aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfigskeletontest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfigskeletontest.cpp')
-rw-r--r--autotests/kconfigskeletontest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/autotests/kconfigskeletontest.cpp b/autotests/kconfigskeletontest.cpp
index 898366c0..0036a7e4 100644
--- a/autotests/kconfigskeletontest.cpp
+++ b/autotests/kconfigskeletontest.cpp
@@ -35,6 +35,11 @@ QTEST_MAIN(KConfigSkeletonTest)
#define WRITE_SETTING3 QFont("helvetica",14)
#define WRITE_SETTING4 QString("KDE")
+void KConfigSkeletonTest::initTestCase()
+{
+ QStandardPaths::setTestModeEnabled(true);
+}
+
void KConfigSkeletonTest::init()
{
QFile::remove(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + "/kconfigskeletontestrc");