feat: add tif and tiff to auto load suffix list

Issue: https://github.com/BLumia/pineapple-pictures/issues/88
This commit is contained in:
Gary Wang 2023-06-19 00:12:22 +08:00
parent c51ec4bd5d
commit 6f28878837
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760

View File

@ -55,7 +55,11 @@ MainWindow::MainWindow(QWidget *parent)
this->setWindowIcon(QIcon(":/icons/app-icon.svg"));
this->setMouseTracking(true);
m_pm->setAutoLoadFilterSuffix({"*.jpg", "*.jpeg", "*.jfif", "*.png", "*.gif", "*.svg", "*.bmp", "*.webp"});
m_pm->setAutoLoadFilterSuffix({
"*.jpg", "*.jpeg", "*.jfif",
"*.png", "*.gif", "*.svg", "*.bmp", "*.webp",
"*.tif", "*.tiff"
});
m_fadeOutAnimation = new QPropertyAnimation(this, "windowOpacity");
m_fadeOutAnimation->setDuration(300);