mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 21:56:13 +08:00
Fixed race condition for updating zeroconf service
This commit is contained in:
@@ -833,13 +833,17 @@ void MainWindow::serverDetected(const QString name)
|
||||
void MainWindow::on_m_pGroupClient_toggled(bool on)
|
||||
{
|
||||
m_pGroupServer->setChecked(!on);
|
||||
updateZeroconfService();
|
||||
if (on) {
|
||||
updateZeroconfService();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_m_pGroupServer_toggled(bool on)
|
||||
{
|
||||
m_pGroupClient->setChecked(!on);
|
||||
updateZeroconfService();
|
||||
if (on) {
|
||||
updateZeroconfService();
|
||||
}
|
||||
}
|
||||
|
||||
bool MainWindow::on_m_pButtonBrowseConfigFile_clicked()
|
||||
|
||||
Reference in New Issue
Block a user