Changed empty string to nullpointer for file options

This commit is contained in:
2019-12-18 13:48:53 +01:00
parent 675fb0b97c
commit 3ad975a297

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