From 0ba54f498eafa5b8c081ff37ecd65d791c3718e9 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Wed, 2 Jun 2010 18:12:58 +0300 Subject: [PATCH] qt4: use slower and better scaling on albumart-label We could use QPixmapCache here too, but I don't think it speeds up it any noticeable way, just makes code littlebit longer. --- modules/gui/qt4/components/interface_widgets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp index aec0812c7e..f33bac1c21 100644 --- a/modules/gui/qt4/components/interface_widgets.cpp +++ b/modules/gui/qt4/components/interface_widgets.cpp @@ -593,7 +593,8 @@ void CoverArtLabel::showArtUpdate( const QString& url ) if( !url.isEmpty() && pix.load( url ) ) { pix = pix.scaled( maximumWidth(), maximumHeight(), - Qt::KeepAspectRatioByExpanding ); + Qt::KeepAspectRatioByExpanding, + Qt::SmoothTransformation ); } else { -- 2.39.2