From b619be3e2a3b2ad66e6a2056fb73e7fdb0ca86be Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Mon, 6 Feb 2023 19:54:52 +0000 Subject: [PATCH] Another fix --- usbcontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbcontroller.cpp b/usbcontroller.cpp index 50af787..d3bb24a 100644 --- a/usbcontroller.cpp +++ b/usbcontroller.cpp @@ -276,7 +276,7 @@ void usbController::run() { qInfo(logUsbControl()) << QString("Error connecting to %0: %1") .arg(this->product) - .arg(hid_error(this->handle)); + .arg(QString::fromWCharArray(hid_error(this->handle))); } // Call me again in 2 seconds to try connecting again QTimer::singleShot(2000, this, SLOT(run()));