Replace 0 and NULL with nullptr where apropriate.

- fixed using clang-tidy's modernize-use-nullptr check.
This commit is contained in:
Jim Evins
2017-03-21 23:48:13 -04:00
parent e09936233a
commit 4be4ea08f6
54 changed files with 124 additions and 124 deletions
+5 -5
View File
@@ -53,7 +53,7 @@ namespace glabels
///
/// Default constructor.
///
LabelModel::LabelModel() : mUntitledInstance(0), mModified(true), mTmplate(0), mRotate(false)
LabelModel::LabelModel() : mUntitledInstance(0), mModified(true), mTmplate(nullptr), mRotate(false)
{
mMerge = new merge::None();
}
@@ -360,7 +360,7 @@ namespace glabels
object->unselect();
mObjectList.removeOne( object );
disconnect( object, 0, this, 0 );
disconnect( object, nullptr, this, nullptr );
setModified();
@@ -389,7 +389,7 @@ namespace glabels
}
}
return 0;
return nullptr;
}
@@ -409,7 +409,7 @@ namespace glabels
}
}
return 0;
return nullptr;
}
@@ -603,7 +603,7 @@ namespace glabels
}
}
return 0;
return nullptr;
}