Add sizeForLabels icon size to Units
This commit is contained in:
parent
a4e4156a47
commit
1b67e0045e
@ -114,6 +114,8 @@ void Units::iconLoaderSettingsChanged()
|
||||
m_iconSizes->insert(QStringLiteral("large"), devicePixelIconSize(KIconLoader::SizeLarge));
|
||||
m_iconSizes->insert(QStringLiteral("huge"), devicePixelIconSize(KIconLoader::SizeHuge));
|
||||
m_iconSizes->insert(QStringLiteral("enormous"), devicePixelIconSize(KIconLoader::SizeEnormous));
|
||||
// gridUnit is always the font height here
|
||||
m_iconSizes->insert(QStringLiteral("sizeForLabels"), devicePixelIconSize(roundToIconSize(m_gridUnit)));
|
||||
|
||||
m_iconSizeHints->insert(QStringLiteral("panel"), devicePixelIconSize(KIconLoader::global()->currentSize(KIconLoader::Panel)));
|
||||
m_iconSizeHints->insert(QStringLiteral("desktop"), devicePixelIconSize(KIconLoader::global()->currentSize(KIconLoader::Desktop)));
|
||||
|
Loading…
Reference in New Issue
Block a user