Add icon size "tiny"

REVIEW: 118798
This commit is contained in:
David Edmundson 2014-06-17 17:10:02 +02:00
parent 97cf403288
commit b44e0205bc

View File

@ -93,6 +93,7 @@ void Units::iconLoaderSettingsChanged()
m_iconSizes->insert("desktop", QVariant(KIconLoader::global()->currentSize(KIconLoader::Desktop))); m_iconSizes->insert("desktop", QVariant(KIconLoader::global()->currentSize(KIconLoader::Desktop)));
// The following icon sizes are fully scaled to dpi // 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("small", devicePixelIconSize(KIconLoader::SizeSmall));
m_iconSizes->insert("smallMedium", devicePixelIconSize(KIconLoader::SizeSmallMedium)); m_iconSizes->insert("smallMedium", devicePixelIconSize(KIconLoader::SizeSmallMedium));
m_iconSizes->insert("medium", devicePixelIconSize(KIconLoader::SizeMedium)); m_iconSizes->insert("medium", devicePixelIconSize(KIconLoader::SizeMedium));