diff --git a/src/controllers/bulk/bulkcontroller.cpp b/src/controllers/bulk/bulkcontroller.cpp index 49468b1ceab..18306782acf 100644 --- a/src/controllers/bulk/bulkcontroller.cpp +++ b/src/controllers/bulk/bulkcontroller.cpp @@ -69,11 +69,11 @@ static QString get_string(libusb_device_handle *handle, u_int8_t id) { return QString::fromLatin1((char*)buf); } -BulkController::BulkController(UserSettingsPointer pConfig, +BulkController::BulkController( libusb_context* context, libusb_device_handle* handle, struct libusb_device_descriptor* desc) - : Controller(pConfig), + : Controller(), m_context(context), m_phandle(handle), in_epaddr(0), diff --git a/src/controllers/bulk/bulkcontroller.h b/src/controllers/bulk/bulkcontroller.h index a5f7c62d3bf..857d92f0563 100644 --- a/src/controllers/bulk/bulkcontroller.h +++ b/src/controllers/bulk/bulkcontroller.h @@ -42,7 +42,7 @@ class BulkReader : public QThread { class BulkController : public Controller { Q_OBJECT public: - BulkController(UserSettingsPointer pConfig, + BulkController( libusb_context* context, libusb_device_handle* handle, struct libusb_device_descriptor* desc); diff --git a/src/controllers/bulk/bulkenumerator.cpp b/src/controllers/bulk/bulkenumerator.cpp index 8df74892935..ce154e4883a 100644 --- a/src/controllers/bulk/bulkenumerator.cpp +++ b/src/controllers/bulk/bulkenumerator.cpp @@ -57,7 +57,7 @@ QList BulkEnumerator::queryDevices() { } BulkController* currentDevice = - new BulkController(m_pConfig, m_context, handle, &desc); + new BulkController(m_context, handle, &desc); m_devices.push_back(currentDevice); } }