diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-09-12 16:11:54 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-10-04 09:31:25 +0000 |
commit | a20b68a6735a9191fe18860b29689371d06a5586 (patch) | |
tree | 056c5cf55750baf52400d5fa6cfbf0548da7cfa1 /examples/assistant/simpletextviewer/assistant.cpp | |
parent | c1bd55b42e3c6ac7ccebce0452b0c1f048f2d5b8 (diff) |
Assistant Examples: Use nullptr
Change-Id: Icfede0f02c6651aa39e2a0a9d5b586a5bb7037e9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples/assistant/simpletextviewer/assistant.cpp')
-rw-r--r-- | examples/assistant/simpletextviewer/assistant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/assistant/simpletextviewer/assistant.cpp b/examples/assistant/simpletextviewer/assistant.cpp index b7bbe6a06..9e668bb7f 100644 --- a/examples/assistant/simpletextviewer/assistant.cpp +++ b/examples/assistant/simpletextviewer/assistant.cpp @@ -108,7 +108,7 @@ bool Assistant::startAssistant() proc->start(app, args); if (!proc->waitForStarted()) { - QMessageBox::critical(0, QObject::tr("Simple Text Viewer"), + QMessageBox::critical(nullptr, QObject::tr("Simple Text Viewer"), QObject::tr("Unable to launch Qt Assistant (%1)").arg(app)); return false; } |