vlc | branch: master | Francois Cartegnie <[email protected]> | Sat Jun 23 21:14:47 2012 +0200| [338887d0c7ef8e23fdcd025eb78a6e7d5fb994a8] | committer: Francois Cartegnie
Qt: CoverArtLabel: fix sizing bug. QPixmapCache can't compute using an undefined maxsize. Introduced by a23142417941223b0068ad5b6f38a79eb9a96e93 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=338887d0c7ef8e23fdcd025eb78a6e7d5fb994a8 --- modules/gui/qt4/components/interface_widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp index ee2a5ca..94f3784 100644 --- a/modules/gui/qt4/components/interface_widgets.cpp +++ b/modules/gui/qt4/components/interface_widgets.cpp @@ -541,7 +541,7 @@ void CoverArtLabel::showArtUpdate( const QString& url ) QPixmap pix; if( !url.isEmpty() && pix.load( url ) ) { - pix = pix.scaled( minimumWidth(), maximumHeight(), + pix = pix.scaled( minimumWidth(), minimumHeight(), Qt::KeepAspectRatioByExpanding, Qt::SmoothTransformation ); } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
