all repos — mgba @ 0e3d021fa0bcd6ccf3d5a1feb76cf2c1917f387c

mGBA Game Boy Advance Emulator

Qt: Fix window title not updating after shutting down game
Vicki Pfau vi@endrift.com
Sun, 02 Feb 2020 14:37:32 -0800
commit

0e3d021fa0bcd6ccf3d5a1feb76cf2c1917f387c

parent

054f4320739236ec85344e8d33b2e61f301275f3

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

jump to
M CHANGESCHANGES

@@ -17,6 +17,7 @@ - Qt: Fix missing OSD messages

- Qt: Fix crash unloading shaders - Qt: Fix toggled actions on gamepads (fixes mgba.io/i/1650) - Qt: Fix extraneous dialog (fixes mgba.io/i/1654) + - Qt: Fix window title not updating after shutting down game - Util: Fix crash reading invalid ELFs Misc: - Qt: Fix non-SDL build (fixes mgba.io/i/1656)
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -806,7 +806,6 @@ for (Action* action : m_gameActions) {

action->setEnabled(false); } setWindowFilePath(QString()); - updateTitle(); detachWidget(m_display.get()); m_screenWidget->setDimensions(m_logo.width(), m_logo.height()); m_screenWidget->setLockIntegerScaling(false);

@@ -834,6 +833,7 @@ }

m_display->stopDrawing(); m_controller.reset(); + updateTitle(); m_display->setVideoProxy({}); if (m_pendingClose) {