diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-08-15 11:14:06 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-08-15 21:29:27 +0000 |
commit | f02333202ab28282b4f5393e656ad83ba43ef6a0 (patch) | |
tree | fc2a4799c27587a19c786cafc9490d5b39dea72b | |
parent | 615ff28f6fe9083b29df9ca3fa0d123817944e0c (diff) |
Use nullptr instead of 0 in example
Fixes: QTBUG-86059
Change-Id: Ifffad0a0767387c92325143a94700d8b5bff5600
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit aec9bb44af76b5e63afec151a36d057fa738aca0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/speech/hello_speak/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/speech/hello_speak/mainwindow.cpp b/examples/speech/hello_speak/mainwindow.cpp index 351249e..2a2ca62 100644 --- a/examples/speech/hello_speak/mainwindow.cpp +++ b/examples/speech/hello_speak/mainwindow.cpp @@ -55,7 +55,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), - m_speech(0) + m_speech(nullptr) { ui.setupUi(this); QLoggingCategory::setFilterRules(QStringLiteral("qt.speech.tts=true \n qt.speech.tts.*=true")); |