summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 16:31:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 16:31:27 -0700
commitb2230855e61c99d5d0b8de672a3e366688beaa30 (patch)
tree6cf2401f746948607d03ef5fe5d151a604a25ae4 /mobile-widgets/qmlmanager.cpp
parent71a75bfda5cbed5f5eec94e09f3d2aa965ec7781 (diff)
downloadsubsurface-b2230855e61c99d5d0b8de672a3e366688beaa30.tar.gz
Mobile: make sure QML gets notified when value changes
This addresses the following warning when running the mobile app: INFO: QQmlExpression: Expression qrc:/qml/DownloadFromDiveComputer.qml:339:5 depends on non-NOTIFYable properties: INFO: QMLManager::DC_forceDownload Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-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 56eecd2cd..858f2c730 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1924,6 +1924,7 @@ void QMLManager::DC_setBluetoothMode(bool mode)
void QMLManager::DC_setForceDownload(bool force)
{
DCDeviceData::instance()->setForceDownload(force);
+ DC_ForceDownloadChanged();
}
void QMLManager::DC_setSaveDump(bool dumpMode)