summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-19 17:19:00 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-19 21:36:55 -0800
commit9d2344d01b05dab1c1d5d59893b980366a041e17 (patch)
treed8cda80488a22c5c9e4d32b49bf82bef4aaee07e /qt-ui/profilegraphics.cpp
parent72b5bbce6e2f177af0b769dbafd0db17dd6a1899 (diff)
downloadsubsurface-9d2344d01b05dab1c1d5d59893b980366a041e17.tar.gz
Fix the positioning of the Labels using the new DiveTextItem
This uses a combination of items on the canvas which makes it easier to position it where I want. This also broke the other texts because I forgot about them. I will fix that on the next commit. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.cpp')
-rw-r--r--qt-ui/profilegraphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index 454bca65a..2d99e654f 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -362,6 +362,7 @@ QColor ProfileGraphicsView::getColor(const color_indice_t i)
void ProfileGraphicsView::plot(struct dive *d, bool forceRedraw)
{
+ return;
struct divecomputer *dc = NULL;
if (d)