Fixed a bug where the system dialogs wouldn't show up on linux

Thx to @Jan for this contribution and testing
This commit is contained in:
2019-12-18 13:02:25 +01:00
parent 9e4cf9a07f
commit a0f1203fb1
2 changed files with 3 additions and 3 deletions

View File

@@ -460,7 +460,7 @@ bool IntelliPhotoGui::saveFile(const QByteArray &fileFormat){
initialPath,
tr("%1 Files (*.%2);;All Files (*)")
.arg(QString::fromLatin1(fileFormat.toUpper()))
.arg(QString::fromLatin1(fileFormat)));
.arg(QString::fromLatin1(fileFormat)), nullptr, QFileDialog::DontUseNativeDialog);
// If no file do nothing
if (fileName.isEmpty()) {