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

List:       kde-commits
Subject:    extragear/graphics/kipi-plugins/printimages
From:       Angelo Naselli <anaselli () linux ! it>
Date:       2009-10-21 20:49:48
Message-ID: 1256158188.820305.16089.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1038791 by anaselli:

preview keeps ratio

 M  +1 -1      wizard.cpp  


--- trunk/extragear/graphics/kipi-plugins/printimages/wizard.cpp #1038790:1038791
@@ -1201,7 +1201,7 @@
     if (d->m_photos.size())
     {
       TPhoto *pPhoto = d->m_photos.at(d->m_infopage_currentPhoto);
-      d->mInfoPage->m_preview->setPixmap ( QPixmap::fromImage( \
pPhoto->loadPhoto().scaled(d->mInfoPage->m_preview->size(),Qt::KeepAspectRatioByExpanding)) \
); +      d->mInfoPage->m_preview->setPixmap ( QPixmap::fromImage( \
pPhoto->loadPhoto().scaled(d->mInfoPage->m_preview->size(), Qt::KeepAspectRatio)) );  \
}  }
 


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

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