diff --git a/src/declarativeimports/core/iconitem.cpp b/src/declarativeimports/core/iconitem.cpp index 5da5265b9..03f40c4d9 100644 --- a/src/declarativeimports/core/iconitem.cpp +++ b/src/declarativeimports/core/iconitem.cpp @@ -314,7 +314,7 @@ void IconItem::loadPixmap() //final pixmap to paint QPixmap result; if (size <= 0) { - m_pixmapIcon = QPixmap(); + m_iconPixmap = QPixmap(); m_animation->stop(); update(); return;