Home
Phabricator
Search
Log In
Paste
P116
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on Oct 23 2017, 8:36 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/libs/widgetutils/kis_icon_utils.cpp b/libs/widgetutils/kis_icon_utils.cpp
index 3df5222..fb6dfb0 100644
--- a/libs/widgetutils/kis_icon_utils.cpp
+++ b/libs/widgetutils/kis_icon_utils.cpp
@@ -114,6 +114,7 @@ QIcon loadIcon(const QString &name)
QIcon icon = QIcon::fromTheme(name);
qWarning() << "\tfalling back on QIcon::FromTheme:" << name;
+ s_icons.insert(icon.cacheKey(), name);
s_cache.insert(name, icon);
return icon;
}
dkazakov
edited the content of this paste.
(Show Details)
Oct 23 2017, 8:36 AM
dkazakov
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
dkazakov
updated the paste's language from
autodetect
to
autodetect
.
dkazakov
mentioned this in
D8422: Add cache for KisIconUtils::loadIcon
.
Oct 23 2017, 8:39 AM
Log In to Comment