diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-25 15:00:27 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-25 15:20:37 +0100 |
commit | 63c8a9ed533f25da030d38790cb4acc0df82ada4 (patch) | |
tree | 2d9b5bd633453ba283ee8d8af8b722d6faca5556 /examples/charts/zoomlinechart/chart.h | |
parent | e0faefb4baaec1a7197a93edcee133136746e2ad (diff) |
Avoid initializing QFlags with 0 or nullptr
It is being deprecated.
Change-Id: I1eafbce147e05028c93830bb882611d9eea58586
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples/charts/zoomlinechart/chart.h')
-rw-r--r-- | examples/charts/zoomlinechart/chart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/zoomlinechart/chart.h b/examples/charts/zoomlinechart/chart.h index b49c4c54..3ea75938 100644 --- a/examples/charts/zoomlinechart/chart.h +++ b/examples/charts/zoomlinechart/chart.h @@ -43,7 +43,7 @@ class Chart : public QChart //![1] { public: - explicit Chart(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0); + explicit Chart(QGraphicsItem *parent = nullptr, Qt::WindowFlags wFlags = {}); ~Chart(); protected: |