From 10f7d7adec8348de4d6747cb8eb289c5fe65bbe7 Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 24 Dec 2020 17:56:24 +0100 Subject: [PATCH] Added to use .webp images too. --- retroshare-gui/src/util/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/util/misc.cpp b/retroshare-gui/src/util/misc.cpp index 8a9525d18..e63ad2fd6 100644 --- a/retroshare-gui/src/util/misc.cpp +++ b/retroshare-gui/src/util/misc.cpp @@ -305,7 +305,7 @@ QPixmap misc::getOpenThumbnailedPicture(QWidget *parent, const QString &caption, { // Let the user choose an picture file QString fileName; - if (!getOpenFileName(parent, RshareSettings::LASTDIR_IMAGES, caption, tr("Pictures (*.png *.jpeg *.xpm *.jpg *.tiff *.gif)"), fileName)) + if (!getOpenFileName(parent, RshareSettings::LASTDIR_IMAGES, caption, tr("Pictures (*.png *.jpeg *.xpm *.jpg *.tiff *.gif *.webp)"), fileName)) return QPixmap(); if(width > 0 && height > 0)