From 593eb7c81c1f9183ba82a4021cdac4748fe6ecff Mon Sep 17 00:00:00 2001 From: Arisotura Date: Fri, 19 Nov 2021 17:03:45 +0100 Subject: [PATCH] hopefully fix Qt6 --- src/frontend/qt_sdl/FirmwareSettingsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/FirmwareSettingsDialog.cpp b/src/frontend/qt_sdl/FirmwareSettingsDialog.cpp index e2dc5a76..0b2cad6c 100644 --- a/src/frontend/qt_sdl/FirmwareSettingsDialog.cpp +++ b/src/frontend/qt_sdl/FirmwareSettingsDialog.cpp @@ -90,7 +90,7 @@ bool FirmwareSettingsDialog::verifyMAC() int pos = 0; for (int i = 0; i < maclen;) { - QCharRef c = mac[i]; + QChar c = mac[i]; bool good = false; if (c >= '0' && c <= '9') good = true; else if (c >= 'a' && c <= 'f') good = true;