summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-19 17:32:17 +1200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-19 17:38:17 +1200
commitdf46b85ee1cc7a33fe35e69c19345a59c966fa41 (patch)
tree88951ed5fdb90ca23db73afe181a0279e79fbf2a /qt-ui/globe.h
parent83018619d6f22efda3a98742598670d7bd76482b (diff)
downloadsubsurface-df46b85ee1cc7a33fe35e69c19345a59c966fa41.tar.gz
Don't just change the location when double clicking on the globe
Instead be consistent with other parts of the code and put us in editing mode so the user can accept / reject the change. See #800 Fixes #801 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r--qt-ui/globe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h
index 8124a4d57..b6a33bbbe 100644
--- a/qt-ui/globe.h
+++ b/qt-ui/globe.h
@@ -39,6 +39,9 @@ private:
bool editingDiveLocation;
bool doubleClick;
+signals:
+ void coordinatesChanged(void);
+
public
slots:
void changeDiveGeoPosition(qreal lon, qreal lat, GeoDataCoordinates::Unit);