Set SmoothPixmapTransform for playing-widget and context album art display

This commit is contained in:
Adam Hill
2021-09-27 16:05:34 -07:00
committed by Jonas Kvinge
parent 2b445fb563
commit d870115467
2 changed files with 4 additions and 0 deletions

View File

@@ -114,6 +114,8 @@ void ContextAlbum::paintEvent(QPaintEvent*) {
}
void ContextAlbum::DrawImage(QPainter *p) {
p->setRenderHint(QPainter::SmoothPixmapTransform);
if (width() != prev_width_) {
cover_loader_options_.desired_height_ = width() - kWidgetSpacing;