diff options
| author | Elvis Angelaccio <[email protected]> | 2021-03-13 17:18:53 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2021-03-13 17:18:53 +0100 |
| commit | ffb80cb00d8fd886051f970b5155a55b1d066fcd (patch) | |
| tree | e684d3bc61dcd0951d65520f0d79f140d31a0075 /src/tests/kitemlistcontrollertest.cpp | |
| parent | c1cd4fdc913857ca0c09858bc184a91dd3842235 (diff) | |
Enable test mode in all test
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(); |
