all repos — mgba @ 5ac712c54c07b034e96b1ffc7ec39b819c7b121a

mGBA Game Boy Advance Emulator

Qt: Fix crash when loading game with an asset view open
Vicki Pfau vi@endrift.com
Mon, 23 Jan 2017 21:29:43 -0800
commit

5ac712c54c07b034e96b1ffc7ec39b819c7b121a

parent

7ed4f38bdda9bc22d41a34ad01abe21e67934781

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

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

@@ -20,6 +20,7 @@ connect(&m_updateTimer, SIGNAL(timeout()), this, SLOT(updateTiles()));

connect(m_controller, SIGNAL(frameAvailable(const uint32_t*)), &m_updateTimer, SLOT(start())); connect(m_controller, SIGNAL(gameStopped(mCoreThread*)), this, SLOT(close())); + connect(m_controller, SIGNAL(gameStopped(mCoreThread*)), &m_updateTimer, SLOT(stop())); } void AssetView::updateTiles(bool force) {