diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-20 14:45:16 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-20 14:45:16 +0200 |
commit | 75d51b5ee87f3c1d34586c34f73c2100d09e1d04 (patch) | |
tree | 9ada52f0b6ccb549c1f80c504cbb7dedb401f1f0 /common/test.cpp | |
parent | 524e405f645edb6231f9b16fafc1f9ca36af8237 (diff) | |
download | sink-75d51b5ee87f3c1d34586c34f73c2100d09e1d04.tar.gz sink-75d51b5ee87f3c1d34586c34f73c2100d09e1d04.zip |
Reread the location if we enable the test mode
Diffstat (limited to 'common/test.cpp')
-rw-r--r-- | common/test.cpp | 1 |
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() | |||
81 | void Sink::Test::setTestModeEnabled(bool enabled) | 81 | void 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 { |