aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/locationinformation.cpp1
-rw-r--r--desktop-widgets/locationinformation.h3
-rw-r--r--desktop-widgets/mainwindow.cpp5
3 files changed, 0 insertions, 9 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index 330ccd6f5..3c09656f1 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -164,7 +164,6 @@ void LocationInformationWidget::acceptChanges()
MapWidget::instance()->endGetDiveCoordinates();
MapWidget::instance()->repopulateLabels();
MultiFilterSortModel::instance()->stopFilterDiveSite();
- emit endEditDiveSite();
}
void LocationInformationWidget::initFields(dive_site *ds)
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h
index 8188893bf..161ce26ef 100644
--- a/desktop-widgets/locationinformation.h
+++ b/desktop-widgets/locationinformation.h
@@ -32,9 +32,6 @@ public slots:
private slots:
void updateLabels();
void diveSiteChanged(struct dive_site *ds, int field);
-signals:
- void endEditDiveSite();
-
private:
void clearLabels();
Ui::LocationInformation ui;
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 651d77053..7c9cf9ba2 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -168,11 +168,6 @@ MainWindow::MainWindow() : QMainWindow(),
profileContainer->setLayout(profLayout);
diveSiteEdit = new LocationInformationWidget(this);
- connect(diveSiteEdit, &LocationInformationWidget::endEditDiveSite,
- this, &MainWindow::setDefaultState);
- connect(diveSiteEdit, SIGNAL(endEditDiveSite()), this, SLOT(refreshDisplay()));
- connect(diveSiteEdit, &LocationInformationWidget::endEditDiveSite,
- mainTab, &MainTab::refreshDisplayedDiveSite);
std::pair<QByteArray, QVariant> enabled = std::make_pair("enabled", QVariant(true));
std::pair<QByteArray, QVariant> disabled = std::make_pair("enabled", QVariant(false));