* set for the Avatar Button a Background image

* set for Avatar Pictures to use IgnoreAspectRatio

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@918 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-01-07 01:56:09 +00:00
parent e3775fceda
commit 935a52dee3
2 changed files with 86 additions and 44 deletions

View file

@ -539,7 +539,7 @@ void MessengerWindow::getPicture()
"Pictures (*.png *.xpm *.jpg)");
if(!fileName.isEmpty())
{
picture = QPixmap(fileName).scaled(72,72, Qt::KeepAspectRatio);
picture = QPixmap(fileName).scaled(53,53, Qt::IgnoreAspectRatio);
ui.avatarButton->setIcon(picture);
}
}