From f02333202ab28282b4f5393e656ad83ba43ef6a0 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Sat, 15 Aug 2020 11:14:06 +0200 Subject: Use nullptr instead of 0 in example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: QTBUG-86059 Change-Id: Ifffad0a0767387c92325143a94700d8b5bff5600 Reviewed-by: Maurice Kalinowski Reviewed-by: MÃ¥rten Nordheim (cherry picked from commit aec9bb44af76b5e63afec151a36d057fa738aca0) Reviewed-by: Qt Cherry-pick Bot --- examples/speech/hello_speak/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); -- cgit v1.2.3