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:
parent
eb38a64149
commit
7fc3a345ff
@ -18,9 +18,6 @@ namespace DownloadFromDcGlobal {
|
|||||||
const char *err_string;
|
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),
|
DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f),
|
||||||
downloading(false),
|
downloading(false),
|
||||||
previousLast(0),
|
previousLast(0),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user