Use nullptr instead of 0

This commit is contained in:
Luis Ángel San Martín
2019-05-31 20:10:35 +02:00
parent 2fe3fcf041
commit 923ad40057
17 changed files with 39 additions and 39 deletions

View File

@ -952,7 +952,7 @@ void MainWindowViewer::saveImage()
QFileInfo fi(pathFile);
currentDirectoryImgDest = fi.absolutePath();
const QPixmap *p = viewer->pixmap();
if (p != NULL)
if (p != nullptr)
p->save(pathFile);
}
}