aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/synchronousprocess.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-05-07 17:33:02 +0200
committerOrgad Shaneh <orgads@gmail.com>2018-05-13 19:53:14 +0000
commit63ef88d015006b9e60fe5f4fae3c8a15c52ad612 (patch)
tree81a15c3ab35acb4bae804e97e6934053ed2ef521 /src/libs/utils/synchronousprocess.h
parentebf2d6f4e25282d0aeedfaccfddbb333c59f606b (diff)
Utils: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: I93edae67271a521e3b2a1f97f486e5fa97009836 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/libs/utils/synchronousprocess.h')
-rw-r--r--src/libs/utils/synchronousprocess.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/utils/synchronousprocess.h b/src/libs/utils/synchronousprocess.h
index bbf21c11f2c..b1901207d8e 100644
--- a/src/libs/utils/synchronousprocess.h
+++ b/src/libs/utils/synchronousprocess.h
@@ -138,8 +138,10 @@ public:
// detection similar SynchronousProcess' handling (taking effect after no more output
// occurs on stderr/stdout as opposed to waitForFinished()). Returns false if a timeout
// occurs. Checking of the process' exit state/code still has to be done.
- static bool readDataFromProcess(QProcess &p, int timeoutS,
- QByteArray *rawStdOut = 0, QByteArray *rawStdErr = 0,
+ static bool readDataFromProcess(QProcess &p,
+ int timeoutS,
+ QByteArray *rawStdOut = nullptr,
+ QByteArray *rawStdErr = nullptr,
bool timeOutMessageBox = false);
// Stop a process by first calling terminate() (allowing for signal handling) and
// then kill().