From e9f7f42c03f9bf8c68ca10485ea30df17e963f3b Mon Sep 17 00:00:00 2001 From: Adam Hill Date: Mon, 8 Nov 2021 18:49:17 -0800 Subject: [PATCH] PlaylistView: Fix for currenttrack_bar blocky rendering --- src/playlist/playlistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist/playlistview.cpp b/src/playlist/playlistview.cpp index b4efad7df..ebf26064a 100644 --- a/src/playlist/playlistview.cpp +++ b/src/playlist/playlistview.cpp @@ -526,13 +526,13 @@ void PlaylistView::drawRow(QPainter *painter, const QStyleOptionViewItem &option } // Draw the bar + painter->setRenderHint(QPainter::SmoothPixmapTransform); painter->drawPixmap(opt.rect.topLeft(), currenttrack_bar_left_[step]); painter->drawPixmap(opt.rect.topRight() - currenttrack_bar_right_[0].rect().topRight(), currenttrack_bar_right_[step]); painter->drawPixmap(middle, currenttrack_bar_mid_[step]); // 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