all repos — mgba @ 50e699037fe72d0c13ac676c7492bc0032dca2ac

mGBA Game Boy Advance Emulator

Qt: Clear display before closing window
Vicki Pfau vi@endrift.com
Tue, 02 Oct 2018 13:04:15 -0700
commit

50e699037fe72d0c13ac676c7492bc0032dca2ac

parent

5e7333e20f63989b81ede8fd456eb522a1db90d6

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

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -613,6 +613,7 @@ m_config->setOption("height", VIDEO_VERTICAL_PIXELS * m_savedScale);

m_config->setOption("width", VIDEO_HORIZONTAL_PIXELS * m_savedScale); } saveConfig(); + m_display.reset(); QMainWindow::closeEvent(event); }