added smooth avatar scaling

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-05-15 14:31:37 +00:00
parent 2d4bd2f42c
commit 2e680b1ed4

View File

@ -692,7 +692,7 @@ void PopupChatDialog::getAvatar()
if(!fileName.isEmpty()) if(!fileName.isEmpty())
{ {
picture = QPixmap(fileName).scaled(82,82, Qt::IgnoreAspectRatio); picture = QPixmap(fileName).scaled(82,82, Qt::IgnoreAspectRatio,Qt::SmoothTransformation);
std::cerr << "Sending avatar image down the pipe" << std::endl ; std::cerr << "Sending avatar image down the pipe" << std::endl ;