Changeset 782caf5 in subsurface


Ignore:
Timestamp:
May 31, 2017, 10:14:24 AM (4 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
286bac6
Parents:
be271e7
git-author:
Dirk Hohndel <dirk@…> (05/30/17 17:49:51)
git-committer:
Dirk Hohndel <dirk@…> (05/31/17 10:14:24)
Message:

QML UI: use the BT address of the first dive computer found

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/DownloadFromDiveComputer.qml

    rc8c56b3 r782caf5  
    8484                                onClicked: {
    8585                                        text: qsTr("Retry")
    86                                         manager.appendTextToLog("DCDownloadThread started")
     86                                        if (downloadThread.deviceData.bluetoothMode) {
     87                                                var addr = manager.getBtAddress()
     88                                                if (addr !== "")
     89                                                downloadThread.deviceData.devName = addr
     90                                        }
     91                                        manager.appendTextToLog("DCDownloadThread started from " + downloadThread.deviceData.devName)
    8792                                        downloadThread.start()
    8893                                }
Note: See TracChangeset for help on using the changeset viewer.