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>
This commit is contained in:
Berthold Stoeger 2018-02-03 23:21:53 +01:00 committed by Dirk Hohndel
parent eb38a64149
commit 7fc3a345ff

View file

@ -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),