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/installerbase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sdk/installerbase.cpp') diff --git a/src/sdk/installerbase.cpp b/src/sdk/installerbase.cpp index 872600f19..8ec142950 100644 --- a/src/sdk/installerbase.cpp +++ b/src/sdk/installerbase.cpp @@ -64,7 +64,7 @@ InstallerBase::InstallerBase(int &argc, char *argv[]) : SDKApp(argc, argv) - , m_core(0) + , m_core(nullptr) { QInstaller::init(); // register custom operations } @@ -87,7 +87,7 @@ int InstallerBase::run() // just silently ignore the fact that we could not create the lock file // and check the running processes. if (runCheck.isRunning(RunOnceChecker::ConditionFlag::ProcessList)) { - QInstaller::MessageBoxHandler::information(0, QLatin1String("AlreadyRunning"), + QInstaller::MessageBoxHandler::information(nullptr, QLatin1String("AlreadyRunning"), tr("Waiting for %1").arg(qAppName()), tr("Another %1 instance is already running. Wait " "until it finishes, close it, or restart your system.").arg(qAppName())); @@ -304,7 +304,7 @@ int InstallerBase::run() } else { //create the wizard GUI - TabController controller(0); + TabController controller(nullptr); controller.setManager(m_core); controller.setControlScript(controlScript); if (m_core->isInstaller()) -- cgit v1.2.3