mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-17 18:37:20 -05:00
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:
parent
86a64be229
commit
e6678bdf9a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user