head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2019.12.03.15.40.06; author roy; state dead; branches; next 1.1; commitid zh8mmr18yGFb7hNB; 1.1 date 2019.10.29.12.39.13; author kamil; state Exp; branches; next ; commitid jXsefgDrwrNCfLIB; desc @@ 1.2 log @Import dhcpcd-ui-0.7.7 with the following changes: * decode escaped \2XX and \\ correctly * support the up and coming dhcpcd-9 dhcpcd-ui-0.7.6 changes: * added dhcpcd-curses - this is very much a work in progress * allow background scanning when interface is down * wireless icon represents signal strength better * improved wpa_suppliant interaction * Qt5 is supported * supports newer dhcpcd variables @ text @$NetBSD: patch-src_dhcpcd-qt_dhcpcd-qt.cpp,v 1.1 2019/10/29 12:39:13 kamil Exp $ Port to Qt5. --- src/dhcpcd-qt/dhcpcd-qt.cpp.orig 2015-01-07 09:18:28.000000000 +0000 +++ src/dhcpcd-qt/dhcpcd-qt.cpp @@@@ -226,9 +226,9 @@@@ void DhcpcdQt::updateOnline(bool showIf) if (showIf) qDebug() << msg; if (msgs.isEmpty()) - msgs = QString::fromAscii(msg); + msgs = QString::fromLatin1(msg); else - msgs += '\n' + QString::fromAscii(msg); + msgs += '\n' + QString::fromLatin1(msg); free(msg); } else if (showIf) qDebug() << i->ifname << i->reason; @ 1.1 log @dhcpcd-qt: Switch to Qt5 @ text @d1 1 a1 1 $NetBSD$ @