added correct image interpolation whenever QPixmap::scaled is called

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-06-20 12:13:47 +00:00
parent 7e307af78b
commit bf6f74c16a
4 changed files with 4 additions and 4 deletions

View file

@ -244,7 +244,7 @@ void ProfileView::selectimagefile()
"Pictures (*.png *.xpm *.jpg)");
if(!fileName.isEmpty())
{
picture = QPixmap(fileName).scaled(108,108, Qt::IgnoreAspectRatio);
picture = QPixmap(fileName).scaled(108,108, Qt::IgnoreAspectRatio,Qt::SmoothTransformation);
ui.photoLabel->setPixmap(picture);
}
}