summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-02-03 23:21:53 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-02-04 13:40:32 -0800
commit7fc3a345ffb55eb92437a67def2e3748d8a4df73 (patch)
tree9afb8d10aaef017772e3625cf283ab039c4e1dd5 /desktop-widgets
parenteb38a641490752578e3dddc7b7959cfd52e0be74 (diff)
downloadsubsurface-7fc3a345ffb55eb92437a67def2e3748d8a4df73.tar.gz
Cleanup: Remove redefinition of DC_TRANSPORT_BLUETOOTH
This transport option was defined at a time where libdc didn't know anything about bluetooth. Nowadays, this enum is defined by libdc to a different value. Since it is never returned from libdc, not a problem at the moment. But this looks like a recipe for desaster, therefore let's just use the libdc version. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp
index ac4fc320f..9c1528395 100644
--- a/desktop-widgets/downloadfromdivecomputer.cpp
+++ b/desktop-widgets/downloadfromdivecomputer.cpp
@@ -18,9 +18,6 @@ namespace DownloadFromDcGlobal {
const char *err_string;
};
-// Workaround abuse of old libdc types
-#define DC_TRANSPORT_BLUETOOTH 1024
-
DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f),
downloading(false),
previousLast(0),