diff options
Diffstat (limited to 'src/charts/legend/qlegend.h')
-rw-r--r-- | src/charts/legend/qlegend.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charts/legend/qlegend.h b/src/charts/legend/qlegend.h index 8825af4d..cafbefba 100644 --- a/src/charts/legend/qlegend.h +++ b/src/charts/legend/qlegend.h @@ -60,7 +60,7 @@ private: public: ~QLegend(); - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = Q_NULLPTR); void setBrush(const QBrush &brush); QBrush brush() const; @@ -90,7 +90,7 @@ public: void setBackgroundVisible(bool visible = true); bool isBackgroundVisible() const; - QList <QLegendMarker*> markers(QAbstractSeries *series = 0) const; + QList <QLegendMarker*> markers(QAbstractSeries *series = Q_NULLPTR) const; bool reverseMarkers(); void setReverseMarkers(bool reverseMarkers = true); |