From 9dacee18f9b7211699164bc70dd17f9934a15f50 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Thu, 1 Nov 2018 10:38:13 +0200 Subject: Replace 0 with nullptr Prevents a lot of warnings seen in QtCreator Change-Id: I63bf95aca68a04fc9fd0eecbe29c63e9b9c47efd Reviewed-by: Iikka Eklund --- src/sdk/installerbasecommons.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sdk/installerbasecommons.cpp') diff --git a/src/sdk/installerbasecommons.cpp b/src/sdk/installerbasecommons.cpp index 1a335f660..bd1c4cdf5 100644 --- a/src/sdk/installerbasecommons.cpp +++ b/src/sdk/installerbasecommons.cpp @@ -39,7 +39,7 @@ using namespace QInstaller; // -- InstallerGui InstallerGui::InstallerGui(PackageManagerCore *core) - : PackageManagerGui(core, 0) + : PackageManagerGui(core, nullptr) { ProductKeyCheck *checker = ProductKeyCheck::instance(); foreach (const int id, checker->registeredPages()) { @@ -71,7 +71,7 @@ InstallerGui::InstallerGui(PackageManagerCore *core) // -- MaintenanceGui MaintenanceGui::MaintenanceGui(PackageManagerCore *core) - : PackageManagerGui(core, 0) + : PackageManagerGui(core, nullptr) { ProductKeyCheck *checker = ProductKeyCheck::instance(); foreach (const int id, checker->registeredPages()) { -- cgit v1.2.3