diff options
Diffstat (limited to 'scatterplot.h')
-rw-r--r-- | scatterplot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scatterplot.h b/scatterplot.h index a115755..7ed58c8 100644 --- a/scatterplot.h +++ b/scatterplot.h @@ -12,7 +12,7 @@ class Scatterplot : public QQuickItem public: Scatterplot(QQuickItem *parent = 0); - void setColorScale(const ColorScale &colorScale); + void setColorScale(ColorScale *colorScale); signals: void xyChanged(const arma::mat &XY); @@ -58,7 +58,7 @@ private: arma::vec m_colorData; - ColorScale m_colorScale; + ColorScale *m_colorScale; }; #endif // SCATTERPLOT_H |