fix isValid()

This commit is contained in:
Marco Martin 2013-02-19 17:49:53 +01:00
parent 9a3fb52e78
commit 97d8362774

View File

@ -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)