summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-02 17:50:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-02 17:50:47 -0800
commit789c32bf4ca93813095beefa9d0c4bc662a354d2 (patch)
tree0cff6a8f2df024ba3b90d14b264367e42ed4227c /qt-mobile
parent8f33403e4f70e5785b145ae483ab16992ab68431 (diff)
downloadsubsurface-789c32bf4ca93813095beefa9d0c4bc662a354d2.tar.gz
QML UI: if load fails, don't continue processing data
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 bf7920e58..ffd0a4e8c 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -117,6 +117,7 @@ void QMLManager::loadDives()
const char *error_string = get_error_string();
qmlUiShowMessage(error_string);
appendTextToLog(error_string);
+ return;
}
process_dives(false, false);