mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
Solved fingerprint message box race condition #4901
This commit is contained in:
committed by
Jerry (Xinyu Hou)
parent
0612ba585d
commit
dbdc2a1e29
@@ -455,8 +455,6 @@ void MainWindow::checkFingerprint(const QString& line)
|
||||
.arg(fingerprint),
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
|
||||
messageBoxAlreadyShown = false;
|
||||
|
||||
stopSynergy();
|
||||
|
||||
if (fingerprintReply == QMessageBox::Yes) {
|
||||
@@ -464,6 +462,8 @@ void MainWindow::checkFingerprint(const QString& line)
|
||||
Fingerprint::trustedServers().trust(fingerprint);
|
||||
startSynergy();
|
||||
}
|
||||
|
||||
messageBoxAlreadyShown = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user