From 6b1d110a29e20216d9d29e24f55b3d6637d5f879 Mon Sep 17 00:00:00 2001 From: Onetchou <83351185+Onetchou@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:03:59 +0200 Subject: [PATCH] feat: user can import jpeg (#1168) --- src/app/seamly2d/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/seamly2d/mainwindow.cpp b/src/app/seamly2d/mainwindow.cpp index 8e9fb0d2468d..332d5cac6fe1 100644 --- a/src/app/seamly2d/mainwindow.cpp +++ b/src/app/seamly2d/mainwindow.cpp @@ -1770,9 +1770,10 @@ void MainWindow::handleImageTool() //--------------------------------------------------------------------------------------------------------------------- QString MainWindow::getImageFilename() { - const QString filter = tr("Images") + QLatin1String(" (*.bmp *.jpg *.png *.svg *.tf);;") + + const QString filter = tr("Images") + QLatin1String(" (*.bmp *.jpg *.jpeg *.png *.svg *.tf);;") + "BMP" + QLatin1String(" (*.bmp);;") + "JPG" + QLatin1String(" (*.jpg);;") + + "JPEG" + QLatin1String(" (*.jpeg);;") + "PNG" + QLatin1String(" (*.png);;") + "SVG" + QLatin1String(" (*.svg);;") + "TIF" + QLatin1String(" (*.tf)");