[autotests] Don't change screens during cleanup

Screens are set during init, to do so at cleanup doesn't bring a lot.

It leads to a potential awkward raciness with xwayland failing the test,
whilst doing something that isn't part of what we're testing here or
likely to happen in real life.
icc-effect-master
David Edmundson 2020-07-14 10:51:22 +01:00 committed by David Edmundson
parent bb138d7668
commit 3a74be2df6
1 changed files with 0 additions and 2 deletions

View File

@ -209,8 +209,6 @@ void InternalWindowTest::init()
void InternalWindowTest::cleanup()
{
Test::destroyWaylandConnection();
QMetaObject::invokeMethod(kwinApp()->platform(), "setVirtualOutputs", Qt::DirectConnection, Q_ARG(int, 2));
}
void InternalWindowTest::testEnterLeave()