all repos — mgba @ 232e972be22d241bc16b3e3fabe7b970bc321d18

mGBA Game Boy Advance Emulator

Qt: Fix quick load recent accidentally saving (fixes #1309)
Vicki Pfau vi@endrift.com
Sat, 23 Feb 2019 01:15:58 -0800
commit

232e972be22d241bc16b3e3fabe7b970bc321d18

parent

a8dcbd05cb3738a45718457f756e050559e9c834

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -17,6 +17,7 @@ - GBA DMA: Fix DMA start/end timing

- Qt: Fix window icon on X11 - GB, GBA Serialize: Fix loading two states in a row - GBA Video: Fix enabling layers in non-tile modes (fixes mgba.io/i/1317) + - Qt: Fix quick load recent accidentally saving (fixes mgba.io/i/1309) Misc: - GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -1107,7 +1107,7 @@ m_nonMpActions.append(quickLoad);

addControlledAction(quickLoadMenu, quickLoad, "quickLoad"); QAction* quickSave = new QAction(tr("Save recent"), quickSaveMenu); - connect(quickLoad, &QAction::triggered, [this] { + connect(quickSave, &QAction::triggered, [this] { m_controller->saveState(); }); m_gameActions.append(quickSave);