mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
71a75bfda5
commit
b2230855e6
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue