mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't override device name when using BT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
afb45a216c
commit
e0771e50f1
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ void DownloadThread::run()
|
||||||
internalData->download_table = &downloadTable;
|
internalData->download_table = &downloadTable;
|
||||||
#if defined(Q_OS_ANDROID)
|
#if defined(Q_OS_ANDROID)
|
||||||
// on Android we either use BT or we download via FTDI cable
|
// on Android we either use BT or we download via FTDI cable
|
||||||
internalData->devname = "ftdi";
|
if (!internalData->bluetooth_mode)
|
||||||
|
internalData->devname = "ftdi";
|
||||||
#endif
|
#endif
|
||||||
qDebug() << "Starting download from " << (internalData->bluetooth_mode ? "BT" : internalData->devname);
|
qDebug() << "Starting download from " << (internalData->bluetooth_mode ? "BT" : internalData->devname);
|
||||||
downloadTable.nr = 0;
|
downloadTable.nr = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue