┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kitemlistcontrollertest.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2021-03-13 17:18:53 +0100
committerElvis Angelaccio <[email protected]>2021-03-13 17:18:53 +0100
commitffb80cb00d8fd886051f970b5155a55b1d066fcd (patch)
treee684d3bc61dcd0951d65520f0d79f140d31a0075 /src/tests/kitemlistcontrollertest.cpp
parentc1cd4fdc913857ca0c09858bc184a91dd3842235 (diff)
Enable test mode in all test
Diffstat (limited to 'src/tests/kitemlistcontrollertest.cpp')
-rw-r--r--src/tests/kitemlistcontrollertest.cpp2
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();