diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp b/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp index c0ccac284c9a243bf57ea622ae7304a52099865e..e28ef88f45d4e911012d65018446ff1187fa92af 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp +++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp @@ -72,7 +72,8 @@ public: if ((pixmap.width() > m_iconSize.width()) || (pixmap.height() > m_iconSize.height())) - return pixmap.scaled(m_iconSize, Qt::KeepAspectRatio); + return pixmap.scaled(m_iconSize, Qt::KeepAspectRatio, + Qt::SmoothTransformation); QPoint offset((m_iconSize.width() - pixmap.width()) / 2, (m_iconSize.height() - pixmap.height()) / 2);