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:
Dirk Hohndel 2015-12-01 09:15:40 -08:00
parent 05bf480e2e
commit da2da116b5

View file

@ -125,6 +125,7 @@ void QMLManager::loadDives()
for_each_dive(i, 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)