diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-05-06 19:00:17 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-05-06 19:00:17 +0200 |
| commit | e184dc55b2d59ccd330576d1069cfa2d46fe1f40 (patch) | |
| tree | 2f6e1585162766d0b2f6f30958f9248a2c1d568f /Source/Core | |
| parent | c3d88a622db039b0e9396f6af08cb8b6cbf95b76 (diff) | |
Qt/NetPlay: Fix crashes on start
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index df6b3c5dea..b916d1e655 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -921,6 +921,7 @@ bool MainWindow::NetPlayJoin() { QMessageBox::critical(nullptr, QObject::tr("Error"), QObject::tr("Failed to connect to server")); + NetPlayQuit(); return false; } @@ -970,6 +971,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; } |
