fix isValid()
This commit is contained in:
parent
9a3fb52e78
commit
97d8362774
@ -173,7 +173,7 @@ bool IconItem::smooth() const
|
||||
|
||||
bool IconItem::isValid() const
|
||||
{
|
||||
return m_icon.isNull() || m_svgIcon || !m_pixmapIcon.isNull() || m_imageIcon.isNull();
|
||||
return !m_icon.isNull() || m_svgIcon || !m_pixmapIcon.isNull() || !m_imageIcon.isNull();
|
||||
}
|
||||
|
||||
void IconItem::paint(QPainter *painter)
|
||||
|
Loading…
Reference in New Issue
Block a user