aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-09-08 09:55:27 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-09-08 09:55:27 +0000
commit91d0aae4edf37610617f424bf0c465ff1a1c2efb (patch)
tree67881e18fe51473e950d3dfebb23d10cffb73da9 /src/plugins/General
parent814186ca701534db0f1f5673712f8fbc9ea2f4fd (diff)
downloadqmmp-91d0aae4edf37610617f424bf0c465ff1a1c2efb.tar.gz
qmmp-91d0aae4edf37610617f424bf0c465ff1a1c2efb.tar.bz2
qmmp-91d0aae4edf37610617f424bf0c465ff1a1c2efb.zip
improved cover manager
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4453 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General')
-rw-r--r--src/plugins/General/covermanager/coverwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/covermanager/coverwidget.cpp b/src/plugins/General/covermanager/coverwidget.cpp
index 02d7733ce..c40aba163 100644
--- a/src/plugins/General/covermanager/coverwidget.cpp
+++ b/src/plugins/General/covermanager/coverwidget.cpp
@@ -76,7 +76,7 @@ void CoverWidget::paintEvent(QPaintEvent *p)
{
QPainter paint(this);
if(!m_pixmap.isNull())
- paint.drawPixmap(0,0, m_pixmap.scaled(p->rect().size()));
+ paint.drawPixmap(0,0, m_pixmap.scaled(p->rect().size(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
}
void CoverWidget::mousePressEvent(QMouseEvent *e)