diff options
Diffstat (limited to 'src/tests/kitemlistcontrollertest.cpp')
| -rw-r--r-- | src/tests/kitemlistcontrollertest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index eb938728d..4149a4d85 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -16,6 +16,7 @@ #include <QGraphicsSceneMouseEvent> #include <QSignalSpy> #include <QProxyStyle> +#include <QStandardPaths> /** * \class KItemListControllerTestStyle is a proxy style for testing the @@ -103,6 +104,7 @@ private: */ void KItemListControllerTest::initTestCase() { + QStandardPaths::setTestModeEnabled(true); qRegisterMetaType<KItemSet>("KItemSet"); m_testDir = new TestDir(); |
