Fix IconItem loading of icons

This commit is contained in:
Sebastian Kügler 2013-02-14 00:43:34 +01:00
parent 29878b42ab
commit f4dbc62264

View File

@ -98,7 +98,7 @@ void IconItem::setSource(const QVariant &source)
//ok, svg not available
} else {
m_icon = QIcon(source.toString());
m_icon = QIcon::fromTheme(source.toString());
delete m_svgIcon;
m_svgIcon = 0;
}