Merge pull request #905 from poixen/socket_failure_dlg
Reopen connection if socket failure
This commit is contained in:
commit
b8401592d4
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32
|
|||
void MainWindow::socketError(const QString &errorStr)
|
||||
{
|
||||
QMessageBox::critical(this, tr("Error"), tr("Socket error: %1").arg(errorStr));
|
||||
actConnect();
|
||||
}
|
||||
|
||||
void MainWindow::protocolVersionMismatch(int localVersion, int remoteVersion)
|
||||
|
|
Loading…
Reference in a new issue