Qt: Fix crash when loading game with an asset view open

This commit is contained in:
Vicki Pfau 2017-01-23 21:29:43 -08:00
parent 7ed4f38bdd
commit 5ac712c54c
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ AssetView::AssetView(GameController* controller, QWidget* parent)
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) {