summaryrefslogtreecommitdiffstats
path: root/common/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/test.cpp')
-rw-r--r--common/test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/test.cpp b/common/test.cpp
index 90586ba..237d3bb 100644
--- a/common/test.cpp
+++ b/common/test.cpp
@@ -29,8 +29,6 @@
29#include "resourceconfig.h" 29#include "resourceconfig.h"
30#include "definitions.h" 30#include "definitions.h"
31 31
32SINK_DEBUG_AREA("test")
33
34using namespace Sink; 32using namespace Sink;
35 33
36void Sink::Test::initTest() 34void Sink::Test::initTest()
@@ -83,6 +81,7 @@ void Sink::Test::initTest()
83void Sink::Test::setTestModeEnabled(bool enabled) 81void Sink::Test::setTestModeEnabled(bool enabled)
84{ 82{
85 QStandardPaths::setTestModeEnabled(enabled); 83 QStandardPaths::setTestModeEnabled(enabled);
84 Sink::clearLocationCache();
86 if (enabled) { 85 if (enabled) {
87 qputenv("SINK_TESTMODE", "TRUE"); 86 qputenv("SINK_TESTMODE", "TRUE");
88 } else { 87 } else {