summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-09-12 22:37:34 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-12 14:02:12 -0700
commita42df06dbfc9d55d74ee416d14ab79a8606f34f7 (patch)
tree6f0b5bedecd6b2d4366b39af308451216b0dcf0d /qt-ui/configuredivecomputerdialog.h
parentf38f8ce4c9a04921a5835b5390b665ef74d05390 (diff)
downloadsubsurface-a42df06dbfc9d55d74ee416d14ab79a8606f34f7.tar.gz
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>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r--qt-ui/configuredivecomputerdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h
index 19bab0a5b..d11726873 100644
--- a/qt-ui/configuredivecomputerdialog.h
+++ b/qt-ui/configuredivecomputerdialog.h
@@ -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 {