autotests: Remove WaylandTestApplication::continueStartupWithScreens step

Makes startup sequence similar to the one in kwin_wayland.
This commit is contained in:
Vlad Zahorodnii 2022-09-14 22:23:57 +03:00
parent be784ba5d2
commit 106d061255
2 changed files with 0 additions and 11 deletions

View file

@ -139,16 +139,6 @@ void WaylandTestApplication::performStartup()
createInput();
createVirtualInputDevices();
if (!platform()->outputs().isEmpty()) {
continueStartupWithScreens();
} else {
connect(platform(), &Platform::outputsQueried, this, &WaylandTestApplication::continueStartupWithScreens);
}
}
void WaylandTestApplication::continueStartupWithScreens()
{
disconnect(kwinApp()->platform(), &Platform::outputsQueried, this, &WaylandTestApplication::continueStartupWithScreens);
WaylandCompositor::create();
connect(Compositor::self(), &Compositor::sceneCreated, this, &WaylandTestApplication::continueStartupWithScene);
}

View file

@ -89,7 +89,6 @@ protected:
void performStartup() override;
private:
void continueStartupWithScreens();
void continueStartupWithScene();
void finalizeStartup();