get season 4 started. get ready for netplay

This commit is contained in:
Arisotura 2024-08-10 23:42:42 +02:00
parent 8d31875902
commit 18ea2bc24e
1 changed files with 4 additions and 4 deletions

View File

@ -441,7 +441,7 @@ MainWindow::MainWindow(int id, EmuInstance* inst, QWidget* parent) :
actLANStartClient = submenu->addAction("Join LAN game");
connect(actLANStartClient, &QAction::triggered, this, &MainWindow::onLANStartClient);
/*submenu->addSeparator();
submenu->addSeparator();
actNPStartHost = submenu->addAction("NETPLAY HOST");
connect(actNPStartHost, &QAction::triggered, this, &MainWindow::onNPStartHost);
@ -450,7 +450,7 @@ MainWindow::MainWindow(int id, EmuInstance* inst, QWidget* parent) :
connect(actNPStartClient, &QAction::triggered, this, &MainWindow::onNPStartClient);
actNPTest = submenu->addAction("NETPLAY GO");
connect(actNPTest, &QAction::triggered, this, &MainWindow::onNPTest);*/
connect(actNPTest, &QAction::triggered, this, &MainWindow::onNPTest);
}
}
{
@ -1729,9 +1729,9 @@ void MainWindow::updateMPInterface(MPInterfaceType type)
actMPNewInstance->setEnabled(enable);
actLANStartHost->setEnabled(enable);
actLANStartClient->setEnabled(enable);
/*actNPStartHost->setEnabled(enable);
actNPStartHost->setEnabled(enable);
actNPStartClient->setEnabled(enable);
actNPTest->setEnabled(enable);*/
actNPTest->setEnabled(enable);
}
bool MainWindow::lanWarning(bool host)