From 8b62375b2e072e31699d715509e80643918c6ac3 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 14 Sep 2018 07:04:05 +0200 Subject: Port deprecated method + use strict compile flags --- autotests/ksharedconfigtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autotests/ksharedconfigtest.cpp') 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"); -- cgit v1.2.1