mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
QML-UI: delete unused code
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
703c3de880
commit
c9dbb424f2
1 changed files with 0 additions and 4 deletions
|
@ -30,13 +30,9 @@ QString QMLProfile::diveId() const
|
|||
void QMLProfile::setDiveId(const QString &diveId)
|
||||
{
|
||||
m_diveId = diveId;
|
||||
int no = -1;
|
||||
struct dive *d = get_dive_by_uniq_id(m_diveId.toInt());
|
||||
if (d)
|
||||
no = d->number;
|
||||
if (m_diveId.toInt() < 1)
|
||||
return;
|
||||
|
||||
if (!d)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue