diff options
author | Anton Lundin <glance@acc.umu.se> | 2016-09-18 14:50:40 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-09-18 07:11:34 -0700 |
commit | f9cd09b000596270830dd05de0fa1dbb1e6254f0 (patch) | |
tree | 699966cb26b9ad454cb8f0f491b973f13cd39131 /desktop-widgets | |
parent | ffa3c4859327a78288cfb74e633ac3845a86ed86 (diff) | |
download | subsurface-f9cd09b000596270830dd05de0fa1dbb1e6254f0.tar.gz |
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 <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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), |