diff options
author | Katja Marttila <katja.marttila@qt.io> | 2018-11-01 10:38:13 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2019-01-09 05:41:16 +0000 |
commit | 9dacee18f9b7211699164bc70dd17f9934a15f50 (patch) | |
tree | d16ee18d0f54a9c28f07aeebab77bb8b9168da55 /src/libs/installer/binaryformat.cpp | |
parent | 818c8ab9836c3e949e891e2266807dbd59c31906 (diff) |
Replace 0 with nullptr
Prevents a lot of warnings seen in QtCreator
Change-Id: I63bf95aca68a04fc9fd0eecbe29c63e9b9c47efd
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/binaryformat.cpp')
-rw-r--r-- | src/libs/installer/binaryformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/binaryformat.cpp b/src/libs/installer/binaryformat.cpp index 42c94ab1d..9a46095ce 100644 --- a/src/libs/installer/binaryformat.cpp +++ b/src/libs/installer/binaryformat.cpp @@ -293,7 +293,7 @@ void ResourceCollection::setName(const QByteArray &name) void ResourceCollection::appendResource(const QSharedPointer<Resource>& resource) { Q_ASSERT(resource); - resource->setParent(0); + resource->setParent(nullptr); m_resources.append(resource); } |