From b44e0205bc720481793671eb921675936840e85e Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Tue, 17 Jun 2014 17:10:02 +0200 Subject: [PATCH] Add icon size "tiny" REVIEW: 118798 --- src/declarativeimports/core/units.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarativeimports/core/units.cpp b/src/declarativeimports/core/units.cpp index 558cafc3c..92fe51ad0 100644 --- a/src/declarativeimports/core/units.cpp +++ b/src/declarativeimports/core/units.cpp @@ -93,6 +93,7 @@ void Units::iconLoaderSettingsChanged() m_iconSizes->insert("desktop", QVariant(KIconLoader::global()->currentSize(KIconLoader::Desktop))); // The following icon sizes are fully scaled to dpi + m_iconSizes->insert("tiny", devicePixelIconSize(KIconLoader::SizeSmall) / 2); m_iconSizes->insert("small", devicePixelIconSize(KIconLoader::SizeSmall)); m_iconSizes->insert("smallMedium", devicePixelIconSize(KIconLoader::SizeSmallMedium)); m_iconSizes->insert("medium", devicePixelIconSize(KIconLoader::SizeMedium));