Fixed a bug where the File Dialog wouldn't show up correctly on linux

This commit is contained in:
2019-12-18 13:08:21 +01:00
parent a0f1203fb1
commit 325d1925ac

View File

@@ -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