added to can use *.gif pictures now too for Avatars.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2387 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-02-22 12:53:24 +00:00
parent 86a64be229
commit e6678bdf9a

View File

@ -1462,7 +1462,7 @@ void PeersDialog::updateAvatar()
void PeersDialog::getAvatar()
{
QString fileName = QFileDialog::getOpenFileName(this, "Load File", QDir::homePath(), "Pictures (*.png *.xpm *.jpg *.tiff)");
QString fileName = QFileDialog::getOpenFileName(this, "Load File", QDir::homePath(), "Pictures (*.png *.xpm *.jpg *.tiff *.gif)");
if(!fileName.isEmpty())
{
picture = QPixmap(fileName).scaled(82,82, Qt::IgnoreAspectRatio);