mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: add number of loaded dives to log
This way we can see if loading dives succeeded at all. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
05bf480e2e
commit
da2da116b5
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ void QMLManager::loadDives()
|
||||||
for_each_dive(i, d) {
|
for_each_dive(i, d) {
|
||||||
DiveListModel::instance()->addDive(d);
|
DiveListModel::instance()->addDive(d);
|
||||||
}
|
}
|
||||||
|
appendTextToLog(QString("%1 dives loaded").arg(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
void QMLManager::commitChanges(QString diveId, QString suit, QString buddy, QString diveMaster, QString notes)
|
void QMLManager::commitChanges(QString diveId, QString suit, QString buddy, QString diveMaster, QString notes)
|
||||||
|
|
Loading…
Add table
Reference in a new issue