diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp index 7a7326d..675eb22 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -57,8 +57,8 @@ MainWindow::MainWindow(QWidget *parent) this->setWindowIcon(QIcon(":/icons/app-icon.svg")); this->setMouseTracking(true); - - QStringList formatFilters; + // related to jfif: https://codereview.qt-project.org/c/qt/qtbase/+/577730 + QStringList formatFilters{ QStringLiteral("*.jfif") }; for (const QByteArray &item : QImageReader::supportedImageFormats()) { formatFilters.append(QStringLiteral("*.") % QString::fromLocal8Bit(item)); }