From 75d51b5ee87f3c1d34586c34f73c2100d09e1d04 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 20 May 2017 14:45:16 +0200 Subject: Reread the location if we enable the test mode --- common/test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'common/test.cpp') 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() void Sink::Test::setTestModeEnabled(bool enabled) { QStandardPaths::setTestModeEnabled(enabled); + Sink::clearLocationCache(); if (enabled) { qputenv("SINK_TESTMODE", "TRUE"); } else { -- cgit v1.2.3