Gui: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-17 15:12:18 +02:00
committed by wwmayer
parent b2672abc06
commit fa8978ce99
58 changed files with 286 additions and 276 deletions

View File

@@ -245,7 +245,7 @@ QString FileDialog::getSaveFileName (QWidget * parent, const QString & caption,
setWorkingDirectory(file);
return file;
} else {
return QString();
return {};
}
}
@@ -314,7 +314,7 @@ QString FileDialog::getOpenFileName(QWidget * parent, const QString & caption, c
setWorkingDirectory(file);
return file;
} else {
return QString();
return {};
}
}