mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-27 13:16:11 +03:00
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) {
|
||||
downloadBonjour();
|
||||
}
|
||||
else {
|
||||
|
||||
m_pAutoConnectCheckBox->setChecked(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
m_pLineEditHostname->setDisabled(checked);
|
||||
appConfig().setAutoConnect(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
Block a user