diff --git a/src/widgets/styles/qstyle.cpp b/src/widgets/styles/qstyle.cpp index 892b7fda608..5eee6c301bc 100644 --- a/src/widgets/styles/qstyle.cpp +++ b/src/widgets/styles/qstyle.cpp @@ -2440,7 +2440,6 @@ QCachedPainter::QCachedPainter(QPainter *painter, const QString &cachePrefix, if (!m_alreadyCached) { m_pixmap = styleCachePixmap(sz, dpr); m_pixmapPainter = std::make_unique(&m_pixmap); - m_pixmapPainter->setRenderHint(QPainter::Antialiasing); s_pixmapCacheKeys += m_pixmapName; } }