Qt: Add "Start NetPlay" option to the menubar

This commit is contained in:
spycrab 2017-07-20 17:52:45 +02:00
parent 8b5ae7b0c7
commit ca1646d99b
2 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,9 @@ void MenuBar::AddToolsMenu()
QMenu* tools_menu = addMenu(tr("&Tools"));
m_wad_install_action = tools_menu->addAction(tr("Install WAD..."), this, &MenuBar::InstallWAD);
tools_menu->addAction(tr("Start NetPlay..."), this, &MenuBar::StartNetPlay);
tools_menu->addSeparator();
// Label will be set by a NANDRefresh later
m_boot_sysmenu = tools_menu->addAction(QStringLiteral(""), [this] { emit BootWiiSystemMenu(); });
m_boot_sysmenu->setEnabled(false);

View File

@ -38,6 +38,7 @@ signals:
void Fullscreen();
void FrameAdvance();
void Screenshot();
void StartNetPlay();
void StateLoad();
void StateSave();
void StateLoadSlot();