From 7fc3a345ffb55eb92437a67def2e3748d8a4df73 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Date: Sat, 3 Feb 2018 23:21:53 +0100 Subject: [PATCH] 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> --- desktop-widgets/downloadfromdivecomputer.cpp | 3 --- 1 file changed, 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),