diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-05-30 17:47:22 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-31 10:14:24 -0700 |
commit | e0771e50f1dda6897336b528a1d05a7c64cab611 (patch) | |
tree | 5fdbbbc6bbccb1d682e97e3dc2a03695b47fe4ab /core | |
parent | afb45a216c7021f38c93c81576ff27d9c2f9b483 (diff) | |
download | subsurface-e0771e50f1dda6897336b528a1d05a7c64cab611.tar.gz |
Don't override device name when using BT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/downloadfromdcthread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 08d8826ab..0d4a90cf0 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -28,7 +28,8 @@ void DownloadThread::run() internalData->download_table = &downloadTable; #if defined(Q_OS_ANDROID) // on Android we either use BT or we download via FTDI cable - internalData->devname = "ftdi"; + if (!internalData->bluetooth_mode) + internalData->devname = "ftdi"; #endif qDebug() << "Starting download from " << (internalData->bluetooth_mode ? "BT" : internalData->devname); downloadTable.nr = 0; |