Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
6.8.0
-
None
-
-
81a921162 (dev), 6d8c08459 (6.8), f16885719 (tqtc/lts-6.5)
Description
In qt/qtmultimedia/examples/multimedia/player/qmediaplaylist.h, there is a line that this.
QMediaPlaylistPrivate *d_ptr;
In qt/qtmultimedia/examples/multimedia/player/qmediaplaylist_p.h there is a line that this.
QMediaPlaylist *q_ptr;
The pointer is not initialized, so it would be better to initialize the pointer.
QMediaPlaylistPrivate *d_ptr = nullptr;
QMediaPlaylist *q_ptr = nullptr;
Attachments
For Gerrit Dashboard: QTBUG-130842 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
601817,4 | Initialize pointer with nullptr | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
602072,2 | Initialize pointer with nullptr | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
602185,2 | Initialize pointer with nullptr | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |