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:
Berthold Stoeger 2018-10-24 21:14:57 +02:00 committed by Dirk Hohndel
parent ab29f6416b
commit 6f98dca26e
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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);