Permalink
Browse files

Merge pull request #6769 from spycrab/qt_fix_netplay

Qt/NetPlay: Fix crashes on start
  • Loading branch information...
Helios747 committed May 7, 2018
2 parents ecd9b94 + e184dc5 commit 8212b6e9cf87ed36db162cea9f7641108d986d96
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Core/DolphinQt2/MainWindow.cpp
@@ -955,6 +955,7 @@ bool MainWindow::NetPlayJoin()
{
QMessageBox::critical(nullptr, QObject::tr("Error"),
QObject::tr("Failed to connect to server"));
NetPlayQuit();
return false;
}
@@ -1004,6 +1005,7 @@ bool MainWindow::NetPlayHost(const QString& game_id)
QObject::tr(
"Failed to listen on port %1. Is another instance of the NetPlay server running?")
.arg(host_port));
NetPlayQuit();
return false;
}

0 comments on commit 8212b6e

Please sign in to comment.