mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
2d4bd2f42c
commit
2e680b1ed4
@ -692,7 +692,7 @@ void PopupChatDialog::getAvatar()
|
||||
|
||||
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 ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user