Qt: Fix crash when loading game with an asset view open
Vicki Pfau vi@endrift.com
Mon, 23 Jan 2017 21:29:43 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/AssetView.cpp
→
src/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) {