From 3530cc39d0f725b38b33ea940a8f902c01d90f6c Mon Sep 17 00:00:00 2001 From: Anthony Fieroni Date: Fri, 20 May 2016 18:59:23 +0300 Subject: [PATCH] [icon thumbnail] Request for preferred icon size REVIEW: 127826 CCBUG: 362324 Signed-off-by: Anthony Fieroni --- src/declarativeimports/core/windowthumbnail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/core/windowthumbnail.cpp b/src/declarativeimports/core/windowthumbnail.cpp index 251aaa468..aab2ff3db 100644 --- a/src/declarativeimports/core/windowthumbnail.cpp +++ b/src/declarativeimports/core/windowthumbnail.cpp @@ -242,7 +242,7 @@ void WindowThumbnail::iconToTexture(WindowTextureNode *textureNode) { QIcon icon; if (KWindowSystem::self()->hasWId(m_winId)) { - icon = KWindowSystem::self()->icon(m_winId); + icon = KWindowSystem::self()->icon(m_winId, boundingRect().width(), boundingRect().height()); } else { // fallback to plasma icon icon = QIcon::fromTheme(QStringLiteral("plasma"));