summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Robert Helling <helling@lmu.de>2013-09-19 09:13:53 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-19 09:13:53 -0500
commitfc3b68bc191ddafa20167da6ed8b6c8b3548f929 (patch)
tree42f6c750a777a7115dee568bbf10e253aae8cb87 /qt-ui/diveplanner.h
parent40462d5008de546d12038b3b062052e180b02930 (diff)
downloadsubsurface-fc3b68bc191ddafa20167da6ed8b6c8b3548f929.tar.gz
Continous update of planner
Make the planner update its display continuously upon moving points including deco. This appears fast enough on typical PCs. If this ends up being to slow on some systems we may have to make it configurable. [Dirk Hohndel: cleaned up the two patches and turned into one commit] Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 8dd8db3e3..7f32290cb 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -149,7 +149,7 @@ private slots:
void pointInserted(const QModelIndex&, int start, int end);
void pointsRemoved(const QModelIndex&, int start, int end);
private:
- void moveActiveHandler(const QPointF& pos);
+ void moveActiveHandler(const QPointF& MappedPos, const int pos);
/* This are the lines of the plotted dive. */
QList<QGraphicsLineItem*> lines;