Lift dis- and connect out from config operations

When working with ostc's via bluetooth, they will reboot and exit
bluetooth mode when you send the disconnect command. Thats kinda
inconvenient when you would like to read your settings, change something
and write it back, you need to start bluetooth mode on your device
twice.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-09-12 22:37:34 +02:00 committed by Dirk Hohndel
parent f38f8ce4c9
commit a42df06dbf
6 changed files with 212 additions and 228 deletions

View file

@ -81,6 +81,9 @@ slots:
void on_DiveComputerList_currentRowChanged(int currentRow);
void dc_open();
void dc_close();
private:
Ui::ConfigureDiveComputerDialog ui;
@ -108,6 +111,7 @@ private:
QString selected_vendor;
QString selected_product;
bool fw_upgrade_possible;
};
class OstcFirmwareCheck : QObject {