From 6168638cf4f7cc3f26ec78c8c565e58e67ed1582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Fri, 1 Sep 2017 20:58:30 +0200 Subject: [PATCH] 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. --- platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.cpp b/platform.cpp index b9bb859f0f..734c783bf3 100644 --- a/platform.cpp +++ b/platform.cpp @@ -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; }