aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-08-22 23:05:14 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-08-22 23:05:24 -0300
commit2abacd16ba0f3ab9516b6c240ae1621ee6f32971 (patch)
tree45ae4b2b08b0ca52d2b22c96ad9bae1b9b2e93e1
parent6da67a32e56c101b9334d2c6f33bd5238d082330 (diff)
Bugfix: m_currentState was not initialized.
This led to inconsistent behavior. Seems to be fixed.
-rw-r--r--scatterplot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scatterplot.cpp b/scatterplot.cpp
index 47066fa..964642c 100644
--- a/scatterplot.cpp
+++ b/scatterplot.cpp
@@ -13,6 +13,7 @@ Scatterplot::Scatterplot(QQuickItem *parent)
: QQuickItem(parent)
, m_shouldUpdateGeometry(false)
, m_shouldUpdateMaterials(false)
+ , m_currentState(INTERACTION_NONE)
, m_colorScale{
QColor("#1f77b4"),
QColor("#ff7f0e"),