Android: since jpg is allowd, add jpeg to icon/splash file dialog

Change-Id: I018650a33d681f4ea75c9333eb875a197ce96e3d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Assam Boudjelthia
2021-11-05 15:21:21 +02:00
parent d80f3f4d8a
commit bcc5c9a344
3 changed files with 6 additions and 5 deletions

View File

@@ -189,7 +189,8 @@ void SplashScreenWidget::selectImage()
{
const FilePath file = FileUtils::getOpenFilePath(this, m_imageSelectionText,
FileUtils::homePath(),
QStringLiteral("%1 (*.png *.jpg)").arg(tr("Images")));
QStringLiteral("%1 (*.png *.jpg *.jpeg)")
.arg(tr("Images")));
if (file.isEmpty())
return;
setImageFromPath(file, false);