clang-tidy nullptr

This commit is contained in:
Erik Frojdh
2020-03-10 15:06:51 +01:00
parent ee799b540a
commit d818e2570f
9 changed files with 41 additions and 42 deletions

View File

@ -109,7 +109,7 @@ void qCloneWidget::SavePlot() {
fName = QFileDialog::getSaveFileName(
this, tr("Save Snapshot "), fName,
tr("PNG Files (*.png);;XPM Files(*.xpm);;JPEG Files(*.jpg)"), 0,
tr("PNG Files (*.png);;XPM Files(*.xpm);;JPEG Files(*.jpg)"), nullptr,
QFileDialog::ShowDirsOnly);
if (!fName.isEmpty()) {
if ((img.save(fName))) {