Desktop/trivial: fix misleading comment

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-10-15 06:53:00 -04:00 committed by bstoeger
parent a58908df8e
commit 5b925d29af

View file

@ -363,7 +363,7 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked()
#if defined(BT_SUPPORT)
data->setBluetoothMode(ui.bluetoothMode->isChecked());
if (data->bluetoothMode()) {
// Get the selected device address from dialog or from preferences
// Get the selected device address
if (btDeviceSelectionDialog != NULL) {
data->setDevName(btDeviceSelectionDialog->getSelectedDeviceAddress());
data->setDevBluetoothName(btDeviceSelectionDialog->getSelectedDeviceName());