summaryrefslogtreecommitdiffstats
path: root/qmake/property.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-08-03 00:22:24 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-08-08 17:30:32 +0000
commita959a0e20695c4b38cf201d194e1ed7b0331e233 (patch)
treebc929b0a095d645afb9470dadc09c590d8ecd7bb /qmake/property.cpp
parent182aca8487ad06396a29757fd86189364fce832b (diff)
qmake: Apply modernize-use-nullptr
Use nullptr instead of 0. Change-Id: Ib3120b9c424a274a2d4dd4c42ec5d7cd5bdead65 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'qmake/property.cpp')
-rw-r--r--qmake/property.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/property.cpp b/qmake/property.cpp
index 9a8db8904d..c0a3ec0dab 100644
--- a/qmake/property.cpp
+++ b/qmake/property.cpp
@@ -68,7 +68,7 @@ static const struct {
{ "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true, true },
};
-QMakeProperty::QMakeProperty() : settings(0)
+QMakeProperty::QMakeProperty() : settings(nullptr)
{
reload();
}
@@ -99,7 +99,7 @@ void QMakeProperty::reload()
QMakeProperty::~QMakeProperty()
{
delete settings;
- settings = 0;
+ settings = nullptr;
}
void QMakeProperty::initSettings()