mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 20:24:56 +01:00
clang-tidy nullptr
This commit is contained in:
@@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user