aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-01 09:15:40 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-01 09:15:40 -0800
commitda2da116b5797371f79d525df1bbc06ef895a7af (patch)
treef6d5fa0220af693e174aa08e0b508bcd6b163793 /qt-mobile
parent05bf480e2e66147388aab5fce0481761bd5c2ca6 (diff)
downloadsubsurface-da2da116b5797371f79d525df1bbc06ef895a7af.tar.gz
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>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qmlmanager.cpp1
1 files changed, 1 insertions, 0 deletions
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)