diff --git a/src/piechart/qpieslice.h b/src/piechart/qpieslice.h index 9b61ca4..f1d75b6 100644 --- a/src/piechart/qpieslice.h +++ b/src/piechart/qpieslice.h @@ -26,9 +26,9 @@ public: qreal value() const; void setLabel(QString label); QString label() const; - void setLabelVisible(bool visible); + void setLabelVisible(bool visible = true); bool isLabelVisible() const; - void setExploded(bool exploded); + void setExploded(bool exploded = true); bool isExploded() const; // generated data