diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-02-07 17:38:00 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-08 07:20:18 -0800 |
commit | ed72aabde57ece6556319db5a11db34dabb73710 (patch) | |
tree | 421d34904ce37c3603ec8556efdcc743770d94ae /qt-ui/profile/divecartesianaxis.cpp | |
parent | 266daa326d9a2de21c8f119864d7030526fec14e (diff) | |
download | subsurface-ed72aabde57ece6556319db5a11db34dabb73710.tar.gz |
Fix time and half of depth lines.
Comment out most of the items on the profile since they are
currently completely broken ( positioning, etc ).
Also, remove the settingsChanged stuff from the DepthAxis because it
doesn't have the shrinked / expanded size on it ( it sits on the profile
code ) so I'll most probably move that to the profile settingsChanged in
the future - or if anyone knows of a better place to have this, I'm all
ears.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 85245c6e6..f2438a207 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -289,17 +289,17 @@ DepthAxis::DepthAxis() : showWithPPGraph(false) void DepthAxis::settingsChanged() { - bool ppGraph = isPPGraphEnabled(); - if ( ppGraph == showWithPPGraph){ - return; - } - - if (ppGraph) { - animateChangeLine(QLineF(0,2,0,60)); - } else { - animateChangeLine(QLineF(0,2,0,98)); - } - showWithPPGraph = ppGraph; +// bool ppGraph = isPPGraphEnabled(); +// if ( ppGraph == showWithPPGraph){ +// return; +// } +// +// if (ppGraph) { +// animateChangeLine(shrinkedLine); +// } else { +// animateChangeLine(expandedLine); +// } +// showWithPPGraph = ppGraph; } QColor TimeAxis::colorForValue(double value) |