aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-24 21:14:57 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-29 00:09:31 +0000
commit6f98dca26e342dff90c5dba81bf81cbeab5f6e63 (patch)
tree5379e7c17978a05ee21783562a6428e31dd345ea
parentab29f6416b619c141de979b82dde24cee4d5cb1b (diff)
downloadsubsurface-6f98dca26e342dff90c5dba81bf81cbeab5f6e63.tar.gz
Dive site: remove argument from diveSiteSelected signal
The diveSiteSelected signal of DiveLocationLineEdit had the dive-site UUID as argument. But the receiving slot would not use that argument. Remove this as a tiny step to remove the UUIDs alltogether. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--desktop-widgets/locationinformation.cpp2
-rw-r--r--desktop-widgets/locationinformation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index acafcfe7b..6cdd5c809 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -521,7 +521,7 @@ void DiveLocationLineEdit::itemActivated(const QModelIndex &index)
qDebug() << "Setting a Existing dive site";
if (view->isVisible())
view->hide();
- emit diveSiteSelected(currUuid);
+ emit diveSiteSelected();
}
void DiveLocationLineEdit::refreshDiveSiteCache()
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h
index 329cfaf61..9a270f80c 100644
--- a/desktop-widgets/locationinformation.h
+++ b/desktop-widgets/locationinformation.h
@@ -101,7 +101,7 @@ public:
void setCurrentDiveSiteUuid(uint32_t uuid);
signals:
- void diveSiteSelected(uint32_t uuid);
+ void diveSiteSelected();
void entered(const QModelIndex& index);
void currentChanged(const QModelIndex& index);