[autotest/integration] Enable test mode for QStandardPaths

By enabling test mode for QStandardPath kglobalaccel doesn't modify the
user's global shortcuts any more.
This commit is contained in:
Martin Gräßlin 2016-10-05 13:21:33 +02:00
parent fb59b05488
commit 03b8477f27

View file

@ -46,6 +46,7 @@ static void readDisplay(int pipe);
WaylandTestApplication::WaylandTestApplication(int &argc, char **argv)
: Application(OperationModeXwayland, argc, argv)
{
QStandardPaths::setTestModeEnabled(true);
#ifdef KWIN_BUILD_ACTIVITIES
setUseKActivities(false);
#endif