From 4491c91b93e4147e19de37bf9209e35e65fe7895 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 12 Jul 2015 17:34:52 -0700 Subject: Whitespace cleanup Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'qt-mobile/qmlmanager.cpp') diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index bd6fb6906..5ccd4cde7 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -24,7 +24,6 @@ void QMLManager::savePreferences() s.beginGroup("CloudStorage"); s.setValue("email", cloudUserName()); s.setValue("password", cloudPassword()); - s.sync(); } @@ -41,13 +40,12 @@ void QMLManager::loadDives() if (!error) { set_filename(fileNamePrt.data(), true); } - process_dives(false, false); int i; struct dive *d; for_each_dive(i, d) - DiveListModel::instance()->addDive(d); + DiveListModel::instance()->addDive(d); } QString QMLManager::cloudPassword() const -- cgit v1.2.3-70-g09d2