[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/dialogs
From:       Seb Ruiz <ruiz () kde ! org>
Date:       2009-03-21 8:42:44
Message-ID: 1237624964.979587.26308.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 942145 by seb:

Fix tag editor image preview size

 M  +3 -2      TagDialog.cpp  


--- trunk/extragear/multimedia/amarok/src/dialogs/TagDialog.cpp #942144:942145
@@ -469,11 +469,12 @@
     if( !m_currentTrack->album() )
         return;
 
-    ui->pixmap_cover->setPixmap( m_currentTrack->album()->image() );
+    const int s = 100; // Image preview size
+
+    ui->pixmap_cover->setPixmap( m_currentTrack->album()->image(s) );
     QString artist = m_currentTrack->artist() ? m_currentTrack->artist()->name() : QString();
     ui->pixmap_cover->setInformation( artist, m_currentTrack->album()->name() );
 
-    const int s = 100; // Image preview size
     ui->pixmap_cover->setMinimumSize( s, s );
     ui->pixmap_cover->setMaximumSize( s, s );
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic