Skip to content

Commit

Permalink
[autotest/integration] Enable test mode for QStandardPaths
Browse files Browse the repository at this point in the history
By enabling test mode for QStandardPath kglobalaccel doesn't modify the
user's global shortcuts any more.
  • Loading branch information
mgraesslin committed Oct 5, 2016
1 parent fb59b05 commit 03b8477
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autotests/integration/kwin_wayland_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03b8477

Please sign in to comment.