summaryrefslogtreecommitdiffstats
path: root/common/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/test.cpp')
-rw-r--r--common/test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/test.cpp b/common/test.cpp
index f9bfa23..237d3bb 100644
--- a/common/test.cpp
+++ b/common/test.cpp
@@ -81,6 +81,7 @@ void Sink::Test::initTest()
81void Sink::Test::setTestModeEnabled(bool enabled) 81void Sink::Test::setTestModeEnabled(bool enabled)
82{ 82{
83 QStandardPaths::setTestModeEnabled(enabled); 83 QStandardPaths::setTestModeEnabled(enabled);
84 Sink::clearLocationCache();
84 if (enabled) { 85 if (enabled) {
85 qputenv("SINK_TESTMODE", "TRUE"); 86 qputenv("SINK_TESTMODE", "TRUE");
86 } else { 87 } else {