From f4246ba7e230bf79151711e81e381dba77490e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 3 Dec 2015 17:42:38 +0100 Subject: [PATCH] SceneQPainter::Window::renderWindowDecorations operates on AbstractClient --- scene_qpainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;