Allow selection of files without extension

I have automatically generated images that do not match *.* as filename contains no dots. I have to rename them every time :(
This commit is contained in:
Pavel Shliak 2022-07-02 16:48:30 +03:00 committed by GitHub
parent cb415a6a02
commit 4f8980d48e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -577,7 +577,7 @@ void ImageWriter::openFileDialog()
QFileDialog *fd = new QFileDialog(nullptr, tr("Select image"),
path,
"Image files (*.img *.zip *.iso *.gz *.xz *.zst);;All files (*.*)");
"Image files (*.img *.zip *.iso *.gz *.xz *.zst);;All files (*)");
connect(fd, SIGNAL(fileSelected(QString)), SLOT(onFileSelected(QString)));
if (_engine)