diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 184ce023f..08b674a2a 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -2024,7 +2024,7 @@ void QMLManager::DC_setDevName(const QString& devName) for (unsigned int i = 0; i < androidSerialDevices.size(); i++) { if (androidSerialDevices[i].uiRepresentation == connection) { appendTextToLog(QString("setDevName matches USB device %1").arg(i)); - DCDeviceData::instance()->setUsbDevice((void *)&androidSerialDevices[i]); + DCDeviceData::instance()->setUsbDevice(androidSerialDevices[i]); } } #endif |