summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/elevatedexecuteoperation.cpp
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2018-11-01 10:38:13 +0200
committerKatja Marttila <katja.marttila@qt.io>2019-01-09 05:41:16 +0000
commit9dacee18f9b7211699164bc70dd17f9934a15f50 (patch)
treed16ee18d0f54a9c28f07aeebab77bb8b9168da55 /src/libs/installer/elevatedexecuteoperation.cpp
parent818c8ab9836c3e949e891e2266807dbd59c31906 (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/elevatedexecuteoperation.cpp')
-rw-r--r--src/libs/installer/elevatedexecuteoperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/elevatedexecuteoperation.cpp b/src/libs/installer/elevatedexecuteoperation.cpp
index 2cc988a4d..aa88f0398 100644
--- a/src/libs/installer/elevatedexecuteoperation.cpp
+++ b/src/libs/installer/elevatedexecuteoperation.cpp
@@ -43,7 +43,7 @@ class ElevatedExecuteOperation::Private
public:
explicit Private(ElevatedExecuteOperation *qq)
: q(qq)
- , process(0)
+ , process(nullptr)
, showStandardError(false)
{
}
@@ -221,7 +221,7 @@ bool ElevatedExecuteOperation::Private::run(const QStringList &arguments)
Q_ASSERT(process);
Q_ASSERT(process->state() == QProcessWrapper::NotRunning);
delete process;
- process = 0;
+ process = nullptr;
return returnValue;
}