Commit e049e83e authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

Prefer usage of nullptr


Change-Id: I9df54b9da22f81c09e1c654be29bc67017c16ce3
Reviewed-by: default avatarMiikka Heikkinen <miikka.heikkinen@qt.io>
Showing with 2 additions and 2 deletions
......@@ -130,7 +130,7 @@ void QChartView::setRubberBand(const RubberBands &rubberBand)
if (!d_ptr->m_rubberBandFlags) {
delete d_ptr->m_rubberBand;
d_ptr->m_rubberBand = 0;
d_ptr->m_rubberBand = nullptr;
return;
}
......@@ -277,7 +277,7 @@ QChartViewPrivate::QChartViewPrivate(QChartView *q, QChart *chart)
m_scene(new QGraphicsScene(q)),
m_chart(chart),
#ifndef QT_NO_RUBBERBAND
m_rubberBand(0),
m_rubberBand(nullptr),
#endif
m_rubberBandFlags(QChartView::NoRubberBand)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment