summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r--core/downloadfromdcthread.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp
index e01de2881..a634b45aa 100644
--- a/core/downloadfromdcthread.cpp
+++ b/core/downloadfromdcthread.cpp
@@ -56,6 +56,7 @@ void DownloadThread::run()
dcs->setVendor(internalData->vendor);
dcs->setProduct(internalData->product);
dcs->setDevice(internalData->devname);
+ dcs->setDeviceName(m_data->devBluetoothName());
}
static void fill_supported_mobile_list()
@@ -239,6 +240,11 @@ QString DCDeviceData::devName() const
return data.devname;
}
+QString DCDeviceData::devBluetoothName() const
+{
+ return m_devBluetoothName;
+}
+
QString DCDeviceData::descriptor() const
{
return "";
@@ -284,6 +290,11 @@ void DCDeviceData::setDevName(const QString& devName)
data.devname = strdup(qPrintable(devName));
}
+void DCDeviceData::setDevBluetoothName(const QString& name)
+{
+ m_devBluetoothName = name;
+}
+
void DCDeviceData::setBluetoothMode(bool mode)
{
data.bluetooth_mode = mode;