Details
-
Task
-
Resolution: Done
-
P4: Low
-
5.15.0
-
None
-
-
aec9bb44af76b5e63afec151a36d057fa738aca0 (qt/qtspeech/dev) f02333202ab28282b4f5393e656ad83ba43ef6a0 (qt/qtspeech/5.15)
-
Da Vinci sprint 14
Description
hello_speech example: mainwindow.cpp
QTextToSpeech *m_speech;
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent),
m_speech(0) // pointer initialized to zero
Should not this pointer be initialized to nullptr?
m_speech(nullptr)
https://code.qt.io/cgit/qt/qtspeech.git/tree/examples/speech/hello_speak/mainwindow.cpp?h=5.15