From ffb80cb00d8fd886051f970b5155a55b1d066fcd Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 13 Mar 2021 17:18:53 +0100 Subject: Enable test mode in all test --- src/tests/kitemlistcontrollertest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests/kitemlistcontrollertest.cpp') 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 #include #include +#include /** * \class KItemListControllerTestStyle is a proxy style for testing the @@ -103,6 +104,7 @@ private: */ void KItemListControllerTest::initTestCase() { + QStandardPaths::setTestModeEnabled(true); qRegisterMetaType("KItemSet"); m_testDir = new TestDir(); -- cgit v1.3