diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-13 22:17:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | 08d789b933a449f1356275348b8aacdb02942fd5 (patch) | |
tree | 5521cd58d5a01652f27b6ef66be7148a844ae678 /desktop-widgets | |
parent | b5daa8a3d8ee02d966bf5e5bc85d700722cabb57 (diff) | |
download | subsurface-08d789b933a449f1356275348b8aacdb02942fd5.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/locationinformation.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/locationinformation.h | 1 |
2 files changed, 0 insertions, 2 deletions
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(); |