diff --git a/scene_qpainter.cpp b/scene_qpainter.cpp index d9a8878496..de9bba698c 100644 --- a/scene_qpainter.cpp +++ b/scene_qpainter.cpp @@ -356,7 +356,7 @@ void SceneQPainter::Window::renderShadow(QPainter* painter) void SceneQPainter::Window::renderWindowDecorations(QPainter *painter) { // TODO: custom decoration opacity - Client *client = dynamic_cast(toplevel); + AbstractClient *client = dynamic_cast(toplevel); Deleted *deleted = dynamic_cast(toplevel); if (!client && !deleted) { return;