Merge pull request #7202 from Techjar/better-netplay-errors

Improve NetPlay connection error handling
This commit is contained in:
spycrab 2018-07-06 12:27:03 +02:00 committed by GitHub
commit 28ca6fec9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 12 deletions

View file

@ -1094,8 +1094,6 @@ bool MainWindow::NetPlayJoin()
if (!Settings::Instance().GetNetPlayClient()->IsConnected())
{
QMessageBox::critical(nullptr, QObject::tr("Error"),
QObject::tr("Failed to connect to server"));
NetPlayQuit();
return false;
}