Qt/MainWindow: Instantly stop when requested by NetPlay

This commit is contained in:
spycrab 2018-07-04 00:54:50 +02:00
parent d8212fd927
commit bbbd886184
1 changed files with 1 additions and 1 deletions

View File

@ -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);