From f9cd09b000596270830dd05de0fa1dbb1e6254f0 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sun, 18 Sep 2016 14:50:40 +0200 Subject: Workaround abuse of the now missing DC_TRANSPORT_BLUETOOTH The DC_TRANSPORT_BLUETOOTH is quite abused here, and I removed it in our custom serial code. This works around the issue so subsurface still compiles. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- desktop-widgets/downloadfromdivecomputer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop-widgets') diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index d58589636..4570a3b7c 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -37,6 +37,9 @@ namespace DownloadFromDcGlobal { struct dive_table downloadTable; +// Workaround abuse of old libdc types +#define DC_TRANSPORT_BLUETOOTH 1024 + DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f), thread(0), downloading(false), -- cgit v1.2.3-70-g09d2