Commit 9e6be745 authored by Matt Lowe's avatar Matt Lowe
Browse files

Reopen connection if socket failure

Missed from #879
parent bc8d9427
...@@ -274,6 +274,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32 ...@@ -274,6 +274,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32
void MainWindow::socketError(const QString &errorStr) void MainWindow::socketError(const QString &errorStr)
{ {
QMessageBox::critical(this, tr("Error"), tr("Socket error: %1").arg(errorStr)); QMessageBox::critical(this, tr("Error"), tr("Socket error: %1").arg(errorStr));
actConnect();
} }
void MainWindow::protocolVersionMismatch(int localVersion, int remoteVersion) 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