mirror of https://github.com/qt/qtbase.git
Doc: Use nullptr instead of 0 in example
Fixes: QTBUG-84101
Change-Id: Ia0b5a87bf9776ee14eff0483b955dd99389cb6ae
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
(cherry picked from commit 0515bd8d2e
)
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
9a6f426e01
commit
3ce829a1d4
|
@ -65,7 +65,7 @@ public:
|
|||
enum Shape { Line, Points, Polyline, Polygon, Rect, RoundedRect, Ellipse, Arc,
|
||||
Chord, Pie, Path, Text, Pixmap };
|
||||
|
||||
RenderArea(QWidget *parent = 0);
|
||||
explicit RenderArea(QWidget *parent = nullptr);
|
||||
|
||||
QSize minimumSizeHint() const override;
|
||||
QSize sizeHint() const override;
|
||||
|
|
Loading…
Reference in New Issue