mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
commit
9bab7ffa83
@ -77,8 +77,10 @@ void MenuBar::EmulationStopped()
|
|||||||
void MenuBar::AddFileMenu()
|
void MenuBar::AddFileMenu()
|
||||||
{
|
{
|
||||||
QMenu* file_menu = addMenu(tr("&File"));
|
QMenu* file_menu = addMenu(tr("&File"));
|
||||||
m_open_action = file_menu->addAction(tr("&Open..."), this, &MenuBar::Open);
|
m_open_action = file_menu->addAction(tr("&Open..."), this, &MenuBar::Open,
|
||||||
m_exit_action = file_menu->addAction(tr("E&xit"), this, &MenuBar::Exit);
|
QKeySequence(QStringLiteral("Ctrl+O")));
|
||||||
|
m_exit_action = file_menu->addAction(tr("E&xit"), this, &MenuBar::Exit,
|
||||||
|
QKeySequence(QStringLiteral("Alt+F4")));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MenuBar::AddToolsMenu()
|
void MenuBar::AddToolsMenu()
|
||||||
@ -113,7 +115,11 @@ void MenuBar::AddEmulationMenu()
|
|||||||
m_reset_action = emu_menu->addAction(tr("&Reset"), this, &MenuBar::Reset);
|
m_reset_action = emu_menu->addAction(tr("&Reset"), this, &MenuBar::Reset);
|
||||||
m_fullscreen_action = emu_menu->addAction(tr("Toggle &Fullscreen"), this, &MenuBar::Fullscreen);
|
m_fullscreen_action = emu_menu->addAction(tr("Toggle &Fullscreen"), this, &MenuBar::Fullscreen);
|
||||||
m_frame_advance_action = emu_menu->addAction(tr("&Frame Advance"), this, &MenuBar::FrameAdvance);
|
m_frame_advance_action = emu_menu->addAction(tr("&Frame Advance"), this, &MenuBar::FrameAdvance);
|
||||||
|
|
||||||
m_screenshot_action = emu_menu->addAction(tr("Take Screenshot"), this, &MenuBar::Screenshot);
|
m_screenshot_action = emu_menu->addAction(tr("Take Screenshot"), this, &MenuBar::Screenshot);
|
||||||
|
|
||||||
|
emu_menu->addSeparator();
|
||||||
|
|
||||||
AddStateLoadMenu(emu_menu);
|
AddStateLoadMenu(emu_menu);
|
||||||
AddStateSaveMenu(emu_menu);
|
AddStateSaveMenu(emu_menu);
|
||||||
AddStateSlotMenu(emu_menu);
|
AddStateSlotMenu(emu_menu);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user