Some clang-tidy -use-modernize-nullptr

Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
hjk
2019-07-31 17:21:41 +02:00
parent 630385751a
commit 2e14df7561
180 changed files with 1312 additions and 1312 deletions

View File

@@ -73,7 +73,7 @@ WizardPage *VcsCommandPageFactory::create(JsonWizard *wizard, Id typeId, const Q
{
Q_UNUSED(wizard)
QTC_ASSERT(canCreate(typeId), return 0);
QTC_ASSERT(canCreate(typeId), return nullptr);
QVariantMap tmp = data.toMap();
@@ -89,7 +89,7 @@ WizardPage *VcsCommandPageFactory::create(JsonWizard *wizard, Id typeId, const Q
} else if (argsVar.type() == QVariant::List) {
args = Utils::transform(argsVar.toList(), &QVariant::toString);
} else {
return 0;
return nullptr;
}
}