summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-14 22:07:48 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitfa4fedbb488eacff72d5d8691b4da8b34634a71e (patch)
tree8a751c99f2731832cdf71db420d55ed95f913bad /desktop-widgets/locationinformation.h
parent1deded787405f10af65c4dfe7c19b5e4a5ea3cdc (diff)
downloadsubsurface-fa4fedbb488eacff72d5d8691b4da8b34634a71e.tar.gz
Undo: implement undo of dive site location editing
Simply copy the code of note editing. It's a bit more complex, since we have to parse the Gps coordinates. For consitency, rename the COORD field to LOCATION (the field in the dive_site struct is called LOCATION). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/locationinformation.h')
-rw-r--r--desktop-widgets/locationinformation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h
index 04be64654..dc77da9e6 100644
--- a/desktop-widgets/locationinformation.h
+++ b/desktop-widgets/locationinformation.h
@@ -30,7 +30,7 @@ public slots:
void resetState();
void resetPallete();
void on_diveSiteCountry_editingFinished();
- void on_diveSiteCoordinates_textChanged(const QString& text);
+ void on_diveSiteCoordinates_editingFinished();
void on_diveSiteDescription_editingFinished();
void on_diveSiteName_editingFinished();
void on_diveSiteNotes_editingFinished();