From 08d789b933a449f1356275348b8aacdb02942fd5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 13 Mar 2019 22:17:55 +0100 Subject: Dive site: remove LocationInformation::nameChanged signal This signal was used by the old filter and the last user was removed in e0f473fcb49c8121a0a9c52bf0536049b0f342ed. Signed-off-by: Berthold Stoeger --- desktop-widgets/locationinformation.cpp | 1 - desktop-widgets/locationinformation.h | 1 - 2 files changed, 2 deletions(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index 747a2d183..f2b9fbcaa 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -182,7 +182,6 @@ void LocationInformationWidget::acceptChanges() char *uiString; uiString = copy_qstring(ui.diveSiteName->text()); if (!same_string(uiString, diveSite->name)) { - emit nameChanged(QString(diveSite->name), ui.diveSiteName->text()); free(diveSite->name); diveSite->name = uiString; } else { diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h index 3b297c741..9697b4986 100644 --- a/desktop-widgets/locationinformation.h +++ b/desktop-widgets/locationinformation.h @@ -42,7 +42,6 @@ private slots: void diveSiteChanged(struct dive_site *ds, int field); signals: void endEditDiveSite(); - void nameChanged(const QString &oldName, const QString &newName); private: void clearLabels(); -- cgit v1.2.3-70-g09d2