mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
one line...
This commit is contained in:
parent
14a9f90817
commit
94257927f3
1 changed files with 2 additions and 0 deletions
|
@ -306,6 +306,8 @@ void wifiDialog::on_Wificheckbox_stateChanged(int arg1)
|
||||||
} else {
|
} else {
|
||||||
log("turning wifi off", className);
|
log("turning wifi off", className);
|
||||||
QTimer::singleShot(0, this, SLOT(turnOffWifi()));
|
QTimer::singleShot(0, this, SLOT(turnOffWifi()));
|
||||||
|
// To inform the wifi icon GUI to don't show the connected / failed to connect message
|
||||||
|
string_writeconfig("/mnt/onboard/.adds/inkbox/.config/17-wifi_connection_information/stopped", "true");
|
||||||
ui->stopBtn->setStyleSheet("background-color:grey;");
|
ui->stopBtn->setStyleSheet("background-color:grey;");
|
||||||
ui->stopBtn->setEnabled(false);
|
ui->stopBtn->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue