]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/viewpropertiestest.cpp
Re-add "Open Terminal Here" feature
[dolphin.git] / src / tests / viewpropertiestest.cpp
index fb3023db5574eeb97624df92393b5bc087fd46da..14d59be0aa6956e8b2c5876450a400e1db487b64 100644 (file)
@@ -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();