X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f65b0899c3666561cafac14f67ab0bb8a5bfa00a..2f62b054eabffb657976f94abd49c6445878b647:/src/tests/viewpropertiestest.cpp diff --git a/src/tests/viewpropertiestest.cpp b/src/tests/viewpropertiestest.cpp index fb3023db5..14d59be0a 100644 --- a/src/tests/viewpropertiestest.cpp +++ b/src/tests/viewpropertiestest.cpp @@ -15,6 +15,7 @@ class ViewPropertiesTest : public QObject Q_OBJECT private Q_SLOTS: + void initTestCase(); void init(); void cleanup(); @@ -26,6 +27,11 @@ private: TestDir* m_testDir; }; +void ViewPropertiesTest::initTestCase() +{ + QStandardPaths::setTestModeEnabled(true); +} + void ViewPropertiesTest::init() { m_globalViewProps = GeneralSettings::self()->globalViewProps();