mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
Qt/MainWindow: Instantly stop when requested by NetPlay
This commit is contained in:
parent
d8212fd927
commit
bbbd886184
@ -1041,7 +1041,7 @@ void MainWindow::NetPlayInit()
|
|||||||
|
|
||||||
connect(m_netplay_dialog, &NetPlayDialog::Boot, this,
|
connect(m_netplay_dialog, &NetPlayDialog::Boot, this,
|
||||||
[this](const QString& path) { StartGame(path); });
|
[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_dialog, &NetPlayDialog::rejected, this, &MainWindow::NetPlayQuit);
|
||||||
connect(m_netplay_setup_dialog, &NetPlaySetupDialog::Join, this, &MainWindow::NetPlayJoin);
|
connect(m_netplay_setup_dialog, &NetPlaySetupDialog::Join, this, &MainWindow::NetPlayJoin);
|
||||||
connect(m_netplay_setup_dialog, &NetPlaySetupDialog::Host, this, &MainWindow::NetPlayHost);
|
connect(m_netplay_setup_dialog, &NetPlaySetupDialog::Host, this, &MainWindow::NetPlayHost);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user