summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-26 06:05:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-26 06:51:47 -0700
commit3b0f38f24a3c3d7ccadf8c0b0011dfc58c2f9d46 (patch)
treeef71eedd9499b3441da39ff5d0516c76f76bb7f4 /qt-ui/configuredivecomputerdialog.h
parent1d10a56bdf6823e8935729aef60b659dea550a6a (diff)
downloadsubsurface-3b0f38f24a3c3d7ccadf8c0b0011dfc58c2f9d46.tar.gz
Fix building without BT support
I guess no one had tried this in a while. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r--qt-ui/configuredivecomputerdialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h
index 7092e9708..be76644a9 100644
--- a/qt-ui/configuredivecomputerdialog.h
+++ b/qt-ui/configuredivecomputerdialog.h
@@ -8,7 +8,9 @@
#include "configuredivecomputer.h"
#include <QStyledItemDelegate>
#include <QNetworkAccessManager>
+#ifdef BT_SUPPORT
#include "btdeviceselectiondialog.h"
+#endif
class GasSpinBoxItemDelegate : public QStyledItemDelegate {
Q_OBJECT
@@ -85,7 +87,7 @@ slots:
void dc_open();
void dc_close();
-#if BT_SUPPORT
+#ifdef BT_SUPPORT
void bluetoothSelectionDialogIsFinished(int result);
void selectRemoteBluetoothDevice();
#endif
@@ -119,7 +121,9 @@ private:
QString selected_product;
bool fw_upgrade_possible;
+#ifdef BT_SUPPORT
BtDeviceSelectionDialog *btDeviceSelectionDialog;
+#endif
};
class OstcFirmwareCheck : QObject {