diff options
Diffstat (limited to 'autotests')
| -rw-r--r-- | autotests/fallbackconfigresourcestest.cpp | 2 | ||||
| -rw-r--r-- | autotests/kdesktopfiletest.cpp | 2 | ||||
| -rw-r--r-- | autotests/ksharedconfigtest.cpp | 2 | 
3 files changed, 3 insertions, 3 deletions
diff --git a/autotests/fallbackconfigresourcestest.cpp b/autotests/fallbackconfigresourcestest.cpp index f921031e..2a9d1be7 100644 --- a/autotests/fallbackconfigresourcestest.cpp +++ b/autotests/fallbackconfigresourcestest.cpp @@ -32,7 +32,7 @@ private Q_SLOTS:  void FallbackConfigResourcesTest::initTestCase()  { -    QStandardPaths::enableTestMode(true); +    QStandardPaths::setTestModeEnabled(true);  }  void FallbackConfigResourcesTest::testResourceFallbackFile() diff --git a/autotests/kdesktopfiletest.cpp b/autotests/kdesktopfiletest.cpp index fd4a5c9e..4f8c5deb 100644 --- a/autotests/kdesktopfiletest.cpp +++ b/autotests/kdesktopfiletest.cpp @@ -29,7 +29,7 @@ QTEST_MAIN(KDesktopFileTest)  void KDesktopFileTest::initTestCase()  { -    QStandardPaths::enableTestMode(true); +    QStandardPaths::setTestModeEnabled(true);      KConfigGroup actionRestrictions(KSharedConfig::openConfig(), "KDE Action Restrictions");      actionRestrictions.writeEntry("someBlockedAction", false); 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");  | 
