From caf04194bc630e20ff0e0c0a8d9b83d292685cd2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 24 Sep 2020 15:44:30 -0500 Subject: Qt UI: Add debug support for DHCP page If you hold CTRL while clicking Continue, you can skip DHCP. --- ui/qt5/netdhcppage.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui') diff --git a/ui/qt5/netdhcppage.cc b/ui/qt5/netdhcppage.cc index 4428538..64dae35 100644 --- a/ui/qt5/netdhcppage.cc +++ b/ui/qt5/netdhcppage.cc @@ -15,6 +15,7 @@ #include #include +#include #include #include #include @@ -154,6 +155,10 @@ void NetDHCPPage::initializePage() { progress->setStepStatus(0, StepProgressWidget::InProgress); + if(QGuiApplication::queryKeyboardModifiers().testFlag(Qt::ControlModifier)) { + online = true; + } + startDHCP(); } -- cgit v1.2.3-60-g2f50