always rewrite icon settings on signal
we can't just check the desktop icon size, another size may have been changed
This commit is contained in:
parent
4afbe498f8
commit
d784a91655
@ -318,10 +318,6 @@ int ThemeProxy::enormousIconSize() const
|
|||||||
|
|
||||||
void ThemeProxy::iconLoaderSettingsChanged()
|
void ThemeProxy::iconLoaderSettingsChanged()
|
||||||
{
|
{
|
||||||
if (m_defaultIconSize == KIconLoader::global()->currentSize(KIconLoader::Desktop)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_defaultIconSize = KIconLoader::global()->currentSize(KIconLoader::Desktop);
|
m_defaultIconSize = KIconLoader::global()->currentSize(KIconLoader::Desktop);
|
||||||
|
|
||||||
m_iconSizes->insert("desktop", QVariant(KIconLoader::global()->currentSize(KIconLoader::Desktop)));
|
m_iconSizes->insert("desktop", QVariant(KIconLoader::global()->currentSize(KIconLoader::Desktop)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user