summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/driver.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-06 10:52:22 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-11 09:05:38 +0200
commit2f84ec4bcd35855e33140d8c985d640d8ece62bc (patch)
treef89a73969c410f4e892ce99bfc4033778df172d5 /src/tools/uic/driver.cpp
parent38f1a36f608f729f47d880eb8389e88159bda7a4 (diff)
uic: Introduce nullptr
Apply Fixits by Qt Creator. Change-Id: Ic2d65b2604d1d71d910773e02bcdf2466f49e52c Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/tools/uic/driver.cpp')
-rw-r--r--src/tools/uic/driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/uic/driver.cpp b/src/tools/uic/driver.cpp
index eb88032e59..8b9b4806e6 100644
--- a/src/tools/uic/driver.cpp
+++ b/src/tools/uic/driver.cpp
@@ -256,7 +256,7 @@ bool Driver::uic(const QString &fileName, DomUI *ui, QTextStream *out)
QTextStream *oldOutput = m_output;
- m_output = out != 0 ? out : &m_stdout;
+ m_output = out != nullptr ? out : &m_stdout;
Uic tool(this);
const bool result = tool.write(ui);