Qt: Add "Start NetPlay" option to the menubar
This commit is contained in:
parent
8b5ae7b0c7
commit
ca1646d99b
|
@ -88,6 +88,9 @@ void MenuBar::AddToolsMenu()
|
||||||
QMenu* tools_menu = addMenu(tr("&Tools"));
|
QMenu* tools_menu = addMenu(tr("&Tools"));
|
||||||
m_wad_install_action = tools_menu->addAction(tr("Install WAD..."), this, &MenuBar::InstallWAD);
|
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
|
// Label will be set by a NANDRefresh later
|
||||||
m_boot_sysmenu = tools_menu->addAction(QStringLiteral(""), [this] { emit BootWiiSystemMenu(); });
|
m_boot_sysmenu = tools_menu->addAction(QStringLiteral(""), [this] { emit BootWiiSystemMenu(); });
|
||||||
m_boot_sysmenu->setEnabled(false);
|
m_boot_sysmenu->setEnabled(false);
|
||||||
|
|
|
@ -38,6 +38,7 @@ signals:
|
||||||
void Fullscreen();
|
void Fullscreen();
|
||||||
void FrameAdvance();
|
void FrameAdvance();
|
||||||
void Screenshot();
|
void Screenshot();
|
||||||
|
void StartNetPlay();
|
||||||
void StateLoad();
|
void StateLoad();
|
||||||
void StateSave();
|
void StateSave();
|
||||||
void StateLoadSlot();
|
void StateLoadSlot();
|
||||||
|
|
Loading…
Reference in New Issue