aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-27 08:42:50 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-27 08:42:50 -0700
commit5e9ee9febb595ced1699e1f60a659e01266ec7e9 (patch)
tree1027c98882df6f5c83f5d1eae3d4d29c25589669
parenta481cdc13d7bde8b12ef26b01b8c6722373ce0da (diff)
downloadsubsurface-5e9ee9febb595ced1699e1f60a659e01266ec7e9.tar.gz
mobile: restore dev_info display
In commit 105b60389c ("mobile: remove GpsLocation reference from qmlmanager") I was a bit careless with the code removal and unintentionally also removed the initialization of the progress callback. With this change the updates from the download process are once again shown on screen in the mobile app. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 41be77f59..7e8bc06f5 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -292,6 +292,7 @@ QMLManager::QMLManager() :
connect(&btDiscovery->localBtDevice, &QBluetoothLocalDevice::hostModeStateChanged,
this, &QMLManager::btHostModeChange);
}
+ progress_callback = &progressCallback;
set_git_update_cb(&gitProgressCB);
// present dive site lists sorted by name