diff options
Diffstat (limited to 'ui/qt5')
-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(); } |