Paste P116

Masterwork From Distant Lands
ActivePublic

Authored by dkazakov on Oct 23 2017, 8:36 AM.
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.