Commit b8401592 authored by poixen's avatar poixen
Browse files

Merge pull request #905 from poixen/socket_failure_dlg

Reopen connection if socket failure
parents 79e9b05a 9e6be745
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment