summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 09:25:55 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 09:31:01 -0700
commitb42df1dab67d2f90934e24f428475ae5f5f88e86 (patch)
treefbcdd7864601999574a47aac138cc9e088bb1544 /qt-ui/globe.h
parent6ab95af9ac718874e8d2c0ed0b1381627ca59443 (diff)
downloadsubsurface-b42df1dab67d2f90934e24f428475ae5f5f88e86.tar.gz
Globe: do a better job detecting double clicks and setting GPS coordinates
For some reasons Marble appears to sometimes not detect double clicks and call the correct callback. With this commit we manually intercept the double clocks and route them to the right function. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r--qt-ui/globe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h
index c40eefc46..bb8ace47b 100644
--- a/qt-ui/globe.h
+++ b/qt-ui/globe.h
@@ -34,6 +34,7 @@ private:
int currentZoomLevel;
bool needResetZoom;
bool editingDiveLocation;
+ bool doubleClick;
public
slots: