diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-10 13:03:16 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-10 13:03:16 -0300 |
commit | b3b1b3f58f39d1b87028908691b46d89a12d2143 (patch) | |
tree | 5e789d53a2cb77785574e614503abc83556569e2 /qt-ui/profilegraphics.h | |
parent | 9a403330673ffe1812a46e2afe4f473ca39f672b (diff) | |
download | subsurface-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.h | 2 |
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(); |