From be06b06015dee963efd931457482e3d3ee80052d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 1 Mar 2013 16:11:08 +0100 Subject: [PATCH] support for panel icon sizes --- src/declarativeimports/core/theme.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarativeimports/core/theme.cpp b/src/declarativeimports/core/theme.cpp index 403007303..3c6026dfa 100644 --- a/src/declarativeimports/core/theme.cpp +++ b/src/declarativeimports/core/theme.cpp @@ -159,6 +159,7 @@ ThemeProxy::ThemeProxy(QObject *parent) m_iconSizes = new QQmlPropertyMap(this); m_iconSizes->insert("desktop", QVariant(KIconLoader::global()->currentSize(KIconLoader::Desktop))); + m_iconSizes->insert("panel", QVariant(KIconLoader::global()->currentSize(KIconLoader::Panel))); m_iconSizes->insert("toolbar", KIconLoader::global()->currentSize(KIconLoader::Toolbar)); m_iconSizes->insert("small", KIconLoader::global()->currentSize(KIconLoader::Small)); m_iconSizes->insert("dialog", KIconLoader::global()->currentSize(KIconLoader::Dialog));