misc: add jiff as a valid image file suffix

This commit is contained in:
Gary Wang 2020-02-23 23:04:54 +08:00
parent 6b0e4b6767
commit 41e75f10b5

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", "*.png", "*.gif", "*.svg", "*.bmp"},
QStringList entryList = dir.entryList({"*.jpg", "*.jpeg", "*.jiff", "*.png", "*.gif", "*.svg", "*.bmp"},
QDir::Files | QDir::NoSymLinks, QDir::NoSort);
QCollator collator;