autotests: Remove WaylandTestApplication::continueStartupWithScreens step
Makes startup sequence similar to the one in kwin_wayland.
This commit is contained in:
parent
be784ba5d2
commit
106d061255
2 changed files with 0 additions and 11 deletions
|
@ -139,16 +139,6 @@ void WaylandTestApplication::performStartup()
|
||||||
createInput();
|
createInput();
|
||||||
createVirtualInputDevices();
|
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();
|
WaylandCompositor::create();
|
||||||
connect(Compositor::self(), &Compositor::sceneCreated, this, &WaylandTestApplication::continueStartupWithScene);
|
connect(Compositor::self(), &Compositor::sceneCreated, this, &WaylandTestApplication::continueStartupWithScene);
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,7 +89,6 @@ protected:
|
||||||
void performStartup() override;
|
void performStartup() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void continueStartupWithScreens();
|
|
||||||
void continueStartupWithScene();
|
void continueStartupWithScene();
|
||||||
void finalizeStartup();
|
void finalizeStartup();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue