Fix IconItem loading of icons
This commit is contained in:
parent
29878b42ab
commit
f4dbc62264
@ -98,7 +98,7 @@ void IconItem::setSource(const QVariant &source)
|
|||||||
|
|
||||||
//ok, svg not available
|
//ok, svg not available
|
||||||
} else {
|
} else {
|
||||||
m_icon = QIcon(source.toString());
|
m_icon = QIcon::fromTheme(source.toString());
|
||||||
delete m_svgIcon;
|
delete m_svgIcon;
|
||||||
m_svgIcon = 0;
|
m_svgIcon = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user