Notified file transmission interrupted #4745
This commit is contained in:
parent
646e1b52eb
commit
eb3f8aee2a
|
@ -472,7 +472,8 @@ void MainWindow::checkTransmission(const QString& line)
|
||||||
setSynergyState(synergyTransfering);
|
setSynergyState(synergyTransfering);
|
||||||
}
|
}
|
||||||
else if (line.contains("Failed") ||
|
else if (line.contains("Failed") ||
|
||||||
line.contains("Complete")) {
|
line.contains("Complete") ||
|
||||||
|
line.contains("Interrupted")) {
|
||||||
setSynergyState(synergyConnected);
|
setSynergyState(synergyConnected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -282,6 +282,11 @@ Client::leave()
|
||||||
&Client::sendClipboardThread,
|
&Client::sendClipboardThread,
|
||||||
NULL));
|
NULL));
|
||||||
|
|
||||||
|
if (!m_receivedFileData.empty()) {
|
||||||
|
m_receivedFileData.clear();
|
||||||
|
LOG((CLOG_NOTIFY "File Transmission Interrupted: The previous file transmission is interrupted."));
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue