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