[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdenetwork/kopete/libkopete
From: Jan Ritzerfeld <kde () bugs ! jan ! ritzerfeld ! net>
Date: 2006-10-14 17:53:13
Message-ID: 1160848393.468801.20000.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 595529 by jritzerfeld:
Preserve aspect ratio when resizing the image to 96x96 if it
is larger than 96x96.
M +1 -1 kopetemetacontact.cpp
--- branches/KDE/3.5/kdenetwork/kopete/libkopete/kopetemetacontact.cpp #595528:595529
@@ -690,7 +690,7 @@
if( picture().image().width() > 96 && picture().image().height() > 96 )
{
kdDebug( 14010 ) << k_funcinfo << "Resizing image from " << \
picture().image().width() << " x " << picture().image().height() << \
endl;
- return picture().image().smoothScale(96,96);
+ return picture().image().smoothScale(96,96,QImage::ScaleMin);
}
else
return picture().image();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic