summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-07-04 00:54:50 +0200
committerspycrab <spycrab@users.noreply.github.com>2018-07-04 00:54:50 +0200
commitbbbd886184152e5759187eb375a1c69e693cd689 (patch)
treeaceb1e70abf7d0a22cdfb3dc0fafcd8f57db5a0a /Source
parentd8212fd927fea1166606d7b12811030487db8704 (diff)
Qt/MainWindow: Instantly stop when requested by NetPlay
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp
index 926b62273e..e621d2ac2c 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -1041,7 +1041,7 @@ void MainWindow::NetPlayInit()
connect(m_netplay_dialog, &NetPlayDialog::Boot, this,
[this](const QString& path) { StartGame(path); });
- connect(m_netplay_dialog, &NetPlayDialog::Stop, this, &MainWindow::RequestStop);
+ connect(m_netplay_dialog, &NetPlayDialog::Stop, this, &MainWindow::ForceStop);
connect(m_netplay_dialog, &NetPlayDialog::rejected, this, &MainWindow::NetPlayQuit);
connect(m_netplay_setup_dialog, &NetPlaySetupDialog::Join, this, &MainWindow::NetPlayJoin);
connect(m_netplay_setup_dialog, &NetPlaySetupDialog::Host, this, &MainWindow::NetPlayHost);