From 325d1925aca738b8025c07e05a2b2cfe9ee02037 Mon Sep 17 00:00:00 2001 From: Conrad Date: Wed, 18 Dec 2019 13:08:21 +0100 Subject: [PATCH] Fixed a bug where the File Dialog wouldn't show up correctly on linux --- src/GUI/IntelliPhotoGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/IntelliPhotoGui.cpp b/src/GUI/IntelliPhotoGui.cpp index 4be552e..a5dde2f 100644 --- a/src/GUI/IntelliPhotoGui.cpp +++ b/src/GUI/IntelliPhotoGui.cpp @@ -43,7 +43,7 @@ void IntelliPhotoGui::slotOpen(){ // tr sets the window title to Open File // QDir opens the current dirctory QString fileName = QFileDialog::getOpenFileName(this, - tr("Open File"), QDir::currentPath()); + tr("Open File"), QDir::currentPath(), "", nullptr, QFileDialog::DontUseNativeDialog); // If we have a file name load the image and place // it in the paintingArea