summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-29 18:48:17 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-29 15:33:00 -0700
commitf0f8b91c0067e4b472e5f90b270621f4cef3b8ac (patch)
tree32a2a9e9b0e8caaea892a1ddc7653718d22019a9 /qt-ui/profile/divecartesianaxis.h
parent078332bae1263ebc9419ab7a818e1d727406beab (diff)
downloadsubsurface-f0f8b91c0067e4b472e5f90b270621f4cef3b8ac.tar.gz
Make the Axis set the changed flag when a new line is set
This was preventing the recalculation of the ticks, making the line static when we enabled or disabled the PP graphs. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r--qt-ui/profile/divecartesianaxis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h
index 77e2697cc..15155692e 100644
--- a/qt-ui/profile/divecartesianaxis.h
+++ b/qt-ui/profile/divecartesianaxis.h
@@ -45,6 +45,7 @@ public:
void setTextVisible(bool arg1);
void setLinesVisible(bool arg1);
void setLineSize(qreal lineSize);
+ void setLine(const QLineF& line);
int unitSystem;
public
slots: