qt3support--

svn path=/trunk/KDE/kdebase/kdepasswd/; revision=479652
This commit is contained in:
Laurent Montel 2005-11-11 10:28:35 +00:00
parent 63bc45d49a
commit 2b64b335ed

View file

@ -131,7 +131,7 @@ void ChFaceDlg::addCustomPixmap( QString imPath, bool saveCopy )
}
if ( (pix.width() > KCFGUserAccount::faceSize())
|| (pix.height() > KCFGUserAccount::faceSize()) )
pix = pix.scaled( KCFGUserAccount::faceSize(), KCFGUserAccount::faceSize(), Qt::ScaleMin );// Should be no bigger than certain size.
pix = pix.scaled( KCFGUserAccount::faceSize(), KCFGUserAccount::faceSize(), Qt::KeepAspectRatio );// Should be no bigger than certain size.
if ( saveCopy )
{