]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/viewpropertiestest.cpp
Improve goActions test
[dolphin.git] / src / tests / viewpropertiestest.cpp
index a9588cb19225fcf4eb1b5f9a54dfb6c36cca55b6..14d59be0aa6956e8b2c5876450a400e1db487b64 100644 (file)
@@ -14,7 +14,8 @@ class ViewPropertiesTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+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();