From b5d4d88fe596fa91a3f3491fe8acc220a0df7b72 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 14 Mar 2019 23:28:45 +0100 Subject: Dive site: remove edit mode from dive location widget Since no dive site field editing enters edit mode anymore, the whole edit mode state and code can be removed from the widget. Signed-off-by: Berthold Stoeger --- desktop-widgets/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/command.h') diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h index 782a46ea5..b41462ac9 100644 --- a/desktop-widgets/command.h +++ b/desktop-widgets/command.h @@ -45,7 +45,7 @@ void editDiveSiteName(dive_site *ds, const QString &value); void editDiveSiteDescription(dive_site *ds, const QString &value); void editDiveSiteNotes(dive_site *ds, const QString &value); void editDiveSiteCountry(dive_site *ds, const QString &value); -void editDiveSiteLocation(dive_site *ds, const QString &value); +void editDiveSiteLocation(dive_site *ds, location_t value); void addDiveSite(const QString &name); } // namespace Command -- cgit v1.2.3-70-g09d2