Skip to content

Commit

Permalink
Add *.svg to file picker dialog (#1972)
Browse files Browse the repository at this point in the history
  • Loading branch information
isf63 authored Dec 31, 2023
1 parent 8de28d7 commit 0b6d6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/config/configstyling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ void ConfigStyling::pickBackgroundImage()
QString picturesLocation;
picturesLocation = QStandardPaths::writableLocation(QStandardPaths::PicturesLocation);

QFileDialog* d = new QFileDialog(this, tr("Pick image"), picturesLocation, tr("Images (*.png *.gif *.jpg)"));
QFileDialog* d = new QFileDialog(this, tr("Pick image"), picturesLocation, tr("Images (*.png *.gif *.jpg *.svg)"));
d->setAttribute(Qt::WA_DeleteOnClose);
d->setWindowModality(Qt::WindowModal);
connect(d, &QFileDialog::fileSelected, ui->lineEdit_customBgImage, &QLineEdit::setText);
Expand Down

0 comments on commit 0b6d6c7

Please sign in to comment.