Solved fingerprint message box race condition #4901
This commit is contained in:
parent
0612ba585d
commit
dbdc2a1e29
|
@ -455,8 +455,6 @@ void MainWindow::checkFingerprint(const QString& line)
|
||||||
.arg(fingerprint),
|
.arg(fingerprint),
|
||||||
QMessageBox::Yes | QMessageBox::No);
|
QMessageBox::Yes | QMessageBox::No);
|
||||||
|
|
||||||
messageBoxAlreadyShown = false;
|
|
||||||
|
|
||||||
stopSynergy();
|
stopSynergy();
|
||||||
|
|
||||||
if (fingerprintReply == QMessageBox::Yes) {
|
if (fingerprintReply == QMessageBox::Yes) {
|
||||||
|
@ -464,6 +462,8 @@ void MainWindow::checkFingerprint(const QString& line)
|
||||||
Fingerprint::trustedServers().trust(fingerprint);
|
Fingerprint::trustedServers().trust(fingerprint);
|
||||||
startSynergy();
|
startSynergy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
messageBoxAlreadyShown = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue