From bbc733a8b5733c69e83748a74774cfa95f776eda Mon Sep 17 00:00:00 2001 From: Conrad Date: Wed, 18 Dec 2019 13:11:50 +0100 Subject: [PATCH] Replaced empty string with nullpointer to dodge warning --- 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 a5dde2f..1de336a 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(), "", nullptr, QFileDialog::DontUseNativeDialog); + tr("Open File"), QDir::currentPath(), nullptr, nullptr, QFileDialog::DontUseNativeDialog); // If we have a file name load the image and place // it in the paintingArea