mirror of https://github.com/mgba-emu/mgba.git
Qt: Rearrange menus some
This commit is contained in:
parent
144a05a66e
commit
0208c7456a
1
CHANGES
1
CHANGES
|
@ -25,6 +25,7 @@ Misc:
|
||||||
- GBA: Default-enable VBA bug compat for Ruby and Emerald ROM hacks
|
- GBA: Default-enable VBA bug compat for Ruby and Emerald ROM hacks
|
||||||
- GBA Memory: Log GPIO writes on non-GPIO carts as Pak Hardware instead of Memory
|
- GBA Memory: Log GPIO writes on non-GPIO carts as Pak Hardware instead of Memory
|
||||||
- Qt: Add ROM filename and size to bug reporter
|
- Qt: Add ROM filename and size to bug reporter
|
||||||
|
- Qt: Rearrange menus some
|
||||||
|
|
||||||
0.9.0: (2021-03-28)
|
0.9.0: (2021-03-28)
|
||||||
Features:
|
Features:
|
||||||
|
|
|
@ -1181,9 +1181,6 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
m_actions.addMenu(tr("Recent"), "mru", "file");
|
m_actions.addMenu(tr("Recent"), "mru", "file");
|
||||||
m_actions.addSeparator("file");
|
m_actions.addSeparator("file");
|
||||||
|
|
||||||
m_actions.addAction(tr("Make portable"), "makePortable", this, &Window::tryMakePortable, "file");
|
|
||||||
m_actions.addSeparator("file");
|
|
||||||
|
|
||||||
Action* loadState = addGameAction(tr("&Load state"), "loadState", [this]() {
|
Action* loadState = addGameAction(tr("&Load state"), "loadState", [this]() {
|
||||||
this->openStateWindow(LoadSave::LOAD);
|
this->openStateWindow(LoadSave::LOAD);
|
||||||
}, "file", QKeySequence("F10"));
|
}, "file", QKeySequence("F10"));
|
||||||
|
@ -1241,9 +1238,6 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
m_nonMpActions.append(quickSave);
|
m_nonMpActions.append(quickSave);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_actions.addSeparator("file");
|
|
||||||
m_actions.addAction(tr("Load camera image..."), "loadCamImage", this, &Window::loadCamImage, "file");
|
|
||||||
|
|
||||||
#ifdef M_CORE_GBA
|
#ifdef M_CORE_GBA
|
||||||
m_actions.addSeparator("file");
|
m_actions.addSeparator("file");
|
||||||
m_actions.addAction(tr("Convert save game..."), "convertSave", openControllerTView<SaveConverter>(), "file");
|
m_actions.addAction(tr("Convert save game..."), "convertSave", openControllerTView<SaveConverter>(), "file");
|
||||||
|
@ -1373,6 +1367,8 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef M_CORE_GB
|
#ifdef M_CORE_GB
|
||||||
|
m_actions.addAction(tr("Load camera image..."), "loadCamImage", this, &Window::loadCamImage, "emu");
|
||||||
|
|
||||||
Action* gbPrint = addGameAction(tr("Game Boy Printer..."), "gbPrint", [this]() {
|
Action* gbPrint = addGameAction(tr("Game Boy Printer..."), "gbPrint", [this]() {
|
||||||
PrinterView* view = new PrinterView(m_controller);
|
PrinterView* view = new PrinterView(m_controller);
|
||||||
openView(view);
|
openView(view);
|
||||||
|
@ -1540,6 +1536,7 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
|
|
||||||
m_actions.addSeparator("tools");
|
m_actions.addSeparator("tools");
|
||||||
m_actions.addAction(tr("Settings..."), "settings", this, &Window::openSettingsWindow, "tools");
|
m_actions.addAction(tr("Settings..."), "settings", this, &Window::openSettingsWindow, "tools");
|
||||||
|
m_actions.addAction(tr("Make portable"), "makePortable", this, &Window::tryMakePortable, "tools");
|
||||||
|
|
||||||
#ifdef USE_DEBUGGERS
|
#ifdef USE_DEBUGGERS
|
||||||
m_actions.addSeparator("tools");
|
m_actions.addSeparator("tools");
|
||||||
|
|
Loading…
Reference in New Issue