|
|
@ -67,11 +67,11 @@ bool InstallerPrompt::checkInternetConnection() {
|
|
|
|
|
|
|
|
|
|
|
|
void InstallerPrompt::updateConnectionStatus(bool online) {
|
|
|
|
void InstallerPrompt::updateConnectionStatus(bool online) {
|
|
|
|
if (online) {
|
|
|
|
if (online) {
|
|
|
|
connectionStatusLabel->setText(tr("Connected to the internet"));
|
|
|
|
ui->connectionStatusLabel->setText(tr("Connected to the internet"));
|
|
|
|
connectWifiButton->setVisible(false);
|
|
|
|
ui->connectWifiButton->setVisible(false);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
connectionStatusLabel->setText(tr("Not connected to the internet"));
|
|
|
|
ui->connectionStatusLabel->setText(tr("Not connected to the internet"));
|
|
|
|
connectWifiButton->setVisible(true);
|
|
|
|
ui->connectWifiButton->setVisible(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|