diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-24 15:44:30 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-24 15:44:30 -0500 |
commit | caf04194bc630e20ff0e0c0a8d9b83d292685cd2 (patch) | |
tree | cc5886179c91b1f609d16599d9a93f0af5db5351 /ui | |
parent | 6180fb0220ef25fefc058d045b3144f550d0b739 (diff) | |
download | horizon-caf04194bc630e20ff0e0c0a8d9b83d292685cd2.tar.gz horizon-caf04194bc630e20ff0e0c0a8d9b83d292685cd2.tar.bz2 horizon-caf04194bc630e20ff0e0c0a8d9b83d292685cd2.tar.xz horizon-caf04194bc630e20ff0e0c0a8d9b83d292685cd2.zip |
Qt UI: Add debug support for DHCP page
If you hold CTRL while clicking Continue, you can skip DHCP.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt5/netdhcppage.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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 <assert.h> #include <QGridLayout> +#include <QGuiApplication> #include <QProcess> #include <QUrl> #include <QVBoxLayout> @@ -154,6 +155,10 @@ void NetDHCPPage::initializePage() { progress->setStepStatus(0, StepProgressWidget::InProgress); + if(QGuiApplication::queryKeyboardModifiers().testFlag(Qt::ControlModifier)) { + online = true; + } + startDHCP(); } |