From 6f98dca26e342dff90c5dba81bf81cbeab5f6e63 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 24 Oct 2018 21:14:57 +0200 Subject: 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 --- desktop-widgets/locationinformation.cpp | 2 +- desktop-widgets/locationinformation.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop-widgets') 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); -- cgit v1.2.3-70-g09d2