Skip to content

Commit

Permalink
Set scene's parent when changing the current scene
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org>
  • Loading branch information
Roger Zanoni committed Apr 9, 2012
1 parent f0cdacf commit 4902b81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/quasigame.cpp
Expand Up @@ -76,6 +76,7 @@ void QuasiGame::setCurrentScene(GameScene *currentScene) {

m_currentScene->setParentItem(m_viewport);
} else {
m_currentScene->setParent(this);
m_currentScene->setParentItem(this);
}

Expand Down

0 comments on commit 4902b81

Please sign in to comment.