summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-10 13:03:16 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-10 13:03:16 -0300
commitb3b1b3f58f39d1b87028908691b46d89a12d2143 (patch)
tree5e789d53a2cb77785574e614503abc83556569e2 /qt-ui/profilegraphics.h
parent9a403330673ffe1812a46e2afe4f473ca39f672b (diff)
downloadsubsurface-b3b1b3f58f39d1b87028908691b46d89a12d2143.tar.gz
Change the plot text so it receives a QPointF instead of x,y, and a Parent
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index 288c9230a..996c5927a 100644
--- a/qt-ui/profilegraphics.h
+++ b/qt-ui/profilegraphics.h
@@ -72,7 +72,7 @@ protected:
private:
void plot_depth_profile();
- void plot_text(text_render_options_t *tro, double x, double y, const QString &text);
+ void plot_text(text_render_options_t *tro, const QPointF& pos, const QString &text, QGraphicsItem *parent = 0);
void plot_events(struct divecomputer *dc);
void plot_one_event(struct event *event);
void plot_temperature_profile();