aboutsummaryrefslogtreecommitdiff
path: root/autotests/ksharedconfigtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/ksharedconfigtest.cpp')
-rw-r--r--autotests/ksharedconfigtest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/autotests/ksharedconfigtest.cpp b/autotests/ksharedconfigtest.cpp
index 165322a3..c22623b4 100644
--- a/autotests/ksharedconfigtest.cpp
+++ b/autotests/ksharedconfigtest.cpp
@@ -38,7 +38,8 @@ void KSharedConfigTest::initTestCase()
{
QStandardPaths::enableTestMode(true);
- m_path = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + "/ksharedconfigtestrc";
+ m_path = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation)
+ + QLatin1Char('/') + QCoreApplication::applicationName() + QStringLiteral("rc");
QFile::remove(m_path);
}