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.
This commit is contained in:
parent
3e0e26204f
commit
6168638cf4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue