mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
ab29f6416b
commit
6f98dca26e
2 changed files with 2 additions and 2 deletions
|
@ -521,7 +521,7 @@ void DiveLocationLineEdit::itemActivated(const QModelIndex &index)
|
||||||
qDebug() << "Setting a Existing dive site";
|
qDebug() << "Setting a Existing dive site";
|
||||||
if (view->isVisible())
|
if (view->isVisible())
|
||||||
view->hide();
|
view->hide();
|
||||||
emit diveSiteSelected(currUuid);
|
emit diveSiteSelected();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DiveLocationLineEdit::refreshDiveSiteCache()
|
void DiveLocationLineEdit::refreshDiveSiteCache()
|
||||||
|
|
|
@ -101,7 +101,7 @@ public:
|
||||||
void setCurrentDiveSiteUuid(uint32_t uuid);
|
void setCurrentDiveSiteUuid(uint32_t uuid);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void diveSiteSelected(uint32_t uuid);
|
void diveSiteSelected();
|
||||||
void entered(const QModelIndex& index);
|
void entered(const QModelIndex& index);
|
||||||
void currentChanged(const QModelIndex& index);
|
void currentChanged(const QModelIndex& index);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue