Commit 106d0612 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

autotests: Remove WaylandTestApplication::continueStartupWithScreens step

Makes startup sequence similar to the one in kwin_wayland.
parent be784ba5
Pipeline #232140 passed with stage
in 15 minutes and 52 seconds
......@@ -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);
}
......
......@@ -89,7 +89,6 @@ protected:
void performStartup() override;
private:
void continueStartupWithScreens();
void continueStartupWithScene();
void finalizeStartup();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment