summaryrefslogtreecommitdiff
path: root/gui/graphing
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-16 16:24:35 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-16 16:24:35 +0100
commitfe2b9f4225a491d9f10d549bf87e37e760f6391a (patch)
tree18610d608b6f945368e7bd7d915b73f8063a88f5 /gui/graphing
parente12479caa434b1a33a15542d545d88190b7259d0 (diff)
Fix GraphView member initialization order to silence gcc warning.
Diffstat (limited to 'gui/graphing')
-rw-r--r--gui/graphing/graphview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/graphing/graphview.cpp b/gui/graphing/graphview.cpp
index 6ecac573..9b42c4ba 100644
--- a/gui/graphing/graphview.cpp
+++ b/gui/graphing/graphview.cpp
@@ -5,7 +5,6 @@
GraphView::GraphView(QWidget* parent) :
QWidget(parent),
- m_selectionState(NULL),
m_viewLeft(0),
m_viewRight(0),
m_viewBottom(0),
@@ -19,7 +18,8 @@ GraphView::GraphView(QWidget* parent) :
m_viewWidthMax(0),
m_viewHeight(0),
m_viewHeightMin(0),
- m_viewHeightMax(0)
+ m_viewHeightMax(0),
+ m_selectionState(NULL)
{
memset(&m_previous, -1, sizeof(m_previous));
}