Commit 6168638c authored by Martin Flöser's avatar Martin Flöser

Fix Platform::createDecorationRenderer

Was missing a return and due to that the decoration renderer never
got added to the Decoration.

Thanks to code coverage reports on build.kde.org! They showed me that
something must have went wrong with the commit series.
parent 3e0e2620
......@@ -483,7 +483,7 @@ OutlineVisual *Platform::createOutline(Outline *outline)
Decoration::Renderer *Platform::createDecorationRenderer(Decoration::DecoratedClientImpl *client)
{
if (Compositor::self()->hasScene()) {
Compositor::self()->scene()->createDecorationRenderer(client);
return Compositor::self()->scene()->createDecorationRenderer(client);
}
return nullptr;
}
......
Markdown is supported
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