fix: okay it's jfif...

This commit is contained in:
Gary Wang 2020-02-24 19:48:22 +08:00
parent 41e75f10b5
commit 5495fa06d3

View File

@ -200,7 +200,7 @@ void MainWindow::loadGalleryBySingleLocalFile(const QString &path)
QFileInfo info(path);
QDir dir(info.path());
QString currentFileName = info.fileName();
QStringList entryList = dir.entryList({"*.jpg", "*.jpeg", "*.jiff", "*.png", "*.gif", "*.svg", "*.bmp"},
QStringList entryList = dir.entryList({"*.jpg", "*.jpeg", "*.jfif", "*.png", "*.gif", "*.svg", "*.bmp"},
QDir::Files | QDir::NoSymLinks, QDir::NoSort);
QCollator collator;