From da2da116b5797371f79d525df1bbc06ef895a7af Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 1 Dec 2015 09:15:40 -0800 Subject: 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 --- qt-mobile/qmlmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-mobile/qmlmanager.cpp') diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 92af3a89a..8a0efd764 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -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) -- cgit v1.2.3-70-g09d2