From beba190f8f4474e84b97f9a0333cd822850a3995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 Jan 2012 20:31:25 +0100 Subject: [PATCH] Correctly update decoration width/height on theme change --- clients/aurorae/src/aurorae.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/aurorae/src/aurorae.cpp b/clients/aurorae/src/aurorae.cpp index dd1bf8352f..fef0febb8d 100644 --- a/clients/aurorae/src/aurorae.cpp +++ b/clients/aurorae/src/aurorae.cpp @@ -411,8 +411,8 @@ void AuroraeClient::themeChanged() m_scene->clear(); m_item = AuroraeFactory::instance()->createQmlDecoration(this); if (m_item) { - m_item->setWidth(width()); - m_item->setHeight(height()); + m_item->setWidth(m_scene->sceneRect().width()); + m_item->setHeight(m_scene->sceneRect().height()); } m_scene->addItem(m_item); }