Stopped process before showing the fingerprint message #4901
This commit is contained in:
parent
588fb4b805
commit
5da7290242
|
@ -439,6 +439,8 @@ void MainWindow::checkFingerprint(const QString& line)
|
|||
static bool messageBoxAlreadyShown = false;
|
||||
|
||||
if (!messageBoxAlreadyShown) {
|
||||
stopSynergy();
|
||||
|
||||
messageBoxAlreadyShown = true;
|
||||
QMessageBox::StandardButton fingerprintReply =
|
||||
QMessageBox::information(
|
||||
|
@ -455,8 +457,6 @@ void MainWindow::checkFingerprint(const QString& line)
|
|||
.arg(fingerprint),
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
|
||||
stopSynergy();
|
||||
|
||||
if (fingerprintReply == QMessageBox::Yes) {
|
||||
// restart core process after trusting fingerprint.
|
||||
Fingerprint::trustedServers().trust(fingerprint);
|
||||
|
|
Loading…
Reference in New Issue