aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/locationinformation.cpp1
-rw-r--r--desktop-widgets/locationinformation.h1
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();