From caa8c6f2dc8bbf8eca0e6fe137d0654104601690 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 11 Jan 2016 13:15:49 +0100 Subject: BarChart: Added const to relevant method(s). --- barchart.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'barchart.h') diff --git a/barchart.h b/barchart.h index ccbb13e..164e0eb 100644 --- a/barchart.h +++ b/barchart.h @@ -12,7 +12,7 @@ public: ~BarChart(); signals: - void valuesChanged(const arma::vec &values); + void valuesChanged(const arma::vec &values) const; public slots: void setValues(const arma::vec &values); @@ -23,7 +23,7 @@ protected: void mousePressEvent(QMouseEvent *event); private: - QSGNode *newBarNode(); + QSGNode *newBarNode() const; void updateBarNodeGeom(QSGNode *barNode, float x, float width, float height); void updateBars(QSGNode *root); -- cgit v1.2.3