diff options
Diffstat (limited to 'common/test.cpp')
-rw-r--r-- | common/test.cpp | 3 |
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 | ||
32 | SINK_DEBUG_AREA("test") | ||
33 | |||
34 | using namespace Sink; | 32 | using namespace Sink; |
35 | 33 | ||
36 | void Sink::Test::initTest() | 34 | void Sink::Test::initTest() |
@@ -83,6 +81,7 @@ void Sink::Test::initTest() | |||
83 | void Sink::Test::setTestModeEnabled(bool enabled) | 81 | void 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 { |