Replaced empty string with nullpointer to dodge warning

This commit is contained in:
2019-12-18 13:11:50 +01:00
parent 325d1925ac
commit bbc733a8b5

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(), "", 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