mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update downloadfromdivecomputer.cpp
Removed blank lines - forgot that blank lines without a continuation \ would break the macro. Embarrassing to say the least. I need to figure out how to upload tested code into git. Signed-off-by: jme <32236882+notrege@users.noreply.github.com>
This commit is contained in:
parent
334a357c19
commit
8a20509861
1 changed files with 0 additions and 2 deletions
|
@ -153,12 +153,10 @@ void DownloadFromDCWidget::DC##num##Clicked() \
|
|||
productModel.setStringList(productList[qPrefDiveComputer::vendor##num()]); \
|
||||
ui.product->setCurrentIndex(ui.product->findText(qPrefDiveComputer::product##num())); \
|
||||
bool isBluetoothDevice = isBluetoothAddress(qPrefDiveComputer::device##num()); \
|
||||
|
||||
/* If we have a Bluetooth device, set the ui.device->CurrentText to avoid starting \
|
||||
a Bluetooth scan in enableBluetoothMode(). \
|
||||
Note: enableBlueToothMode() will set ui.device.CurrentIndex to -1 unless \
|
||||
ui.bluetoothMode is checked. */ \
|
||||
|
||||
if (isBluetoothDevice) \
|
||||
ui.device->setCurrentText(qPrefDiveComputer::device##num()); \
|
||||
ui.bluetoothMode->setChecked(isBluetoothDevice); \
|
||||
|
|
Loading…
Add table
Reference in a new issue