feat: add tif and tiff to auto load suffix list
Issue: https://github.com/BLumia/pineapple-pictures/issues/88
This commit is contained in:
parent
c51ec4bd5d
commit
6f28878837
|
@ -55,7 +55,11 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
this->setWindowIcon(QIcon(":/icons/app-icon.svg"));
|
this->setWindowIcon(QIcon(":/icons/app-icon.svg"));
|
||||||
this->setMouseTracking(true);
|
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 = new QPropertyAnimation(this, "windowOpacity");
|
||||||
m_fadeOutAnimation->setDuration(300);
|
m_fadeOutAnimation->setDuration(300);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user