mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix building without BT support
I guess no one had tried this in a while. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1d10a56bdf
commit
3b0f38f24a
5 changed files with 29 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue