Solved #4196 by download and open Bonjour installer
This commit is contained in:
parent
376c983d21
commit
6fd8afafbd
|
@ -918,11 +918,10 @@ void MainWindow::on_m_pAutoConnectCheckBox_toggled(bool checked)
|
||||||
if (r == QMessageBox::Yes) {
|
if (r == QMessageBox::Yes) {
|
||||||
downloadBonjour();
|
downloadBonjour();
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
m_pAutoConnectCheckBox->setChecked(false);
|
m_pAutoConnectCheckBox->setChecked(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
m_pLineEditHostname->setDisabled(checked);
|
m_pLineEditHostname->setDisabled(checked);
|
||||||
appConfig().setAutoConnect(checked);
|
appConfig().setAutoConnect(checked);
|
||||||
|
@ -1029,6 +1028,8 @@ void MainWindow::installBonjour()
|
||||||
file.write(m_pDataDownloader->downloadedData());
|
file.write(m_pDataDownloader->downloadedData());
|
||||||
file.close();
|
file.close();
|
||||||
|
|
||||||
|
QDesktopServices::openUrl(QUrl("file:///" + filename));
|
||||||
|
|
||||||
m_DownloadMessageBox->hide();
|
m_DownloadMessageBox->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue