summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2020-08-15 11:14:06 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-08-15 22:55:03 +0200
commitaec9bb44af76b5e63afec151a36d057fa738aca0 (patch)
tree8269f37d6c7c38ffa2a1c480e3d931d0200e1b66
parentc484d432a0980a89c9faf95e41b8bd224aaf114f (diff)
Use nullptr instead of 0 in example
Fixes: QTBUG-86059 Pick-to: 5.15 Change-Id: Ifffad0a0767387c92325143a94700d8b5bff5600 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
-rw-r--r--examples/speech/hello_speak/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/speech/hello_speak/mainwindow.cpp b/examples/speech/hello_speak/mainwindow.cpp
index a7ccfd4..04c7a7f 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"));