From 7c87b535176062c85d0329f05911d1e0ba17ca86 Mon Sep 17 00:00:00 2001 From: buckmelanoma <43704682+buckmelanoma@users.noreply.github.com> Date: Fri, 29 Oct 2021 17:49:22 -0700 Subject: [PATCH] PlaylistView: Use SmoothPixmapTransform when drawing play icon Fixes #794 --- src/playlist/playlistview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playlist/playlistview.cpp b/src/playlist/playlistview.cpp index 9033f7a7..a06bb1a3 100644 --- a/src/playlist/playlistview.cpp +++ b/src/playlist/playlistview.cpp @@ -532,6 +532,7 @@ void PlaylistView::drawRow(QPainter *painter, const QStyleOptionViewItem &option // Draw the play icon QPoint play_pos(currenttrack_bar_left_[0].width() / 3 * 2, (row_height - currenttrack_play_.height()) / 2); + painter->setRenderHint(QPainter::SmoothPixmapTransform); painter->drawPixmap(opt.rect.topLeft() + play_pos, is_paused ? currenttrack_pause_ : currenttrack_play_); // Set the font