Game is now inpaused after done with menu
[ghostsoverboard] / seascene.cpp
index db31d78..5b81a57 100644 (file)
@@ -69,6 +69,8 @@ SeaScene::SeaScene(QObject *parent) :
 
     currentLevel_ = 0;
 
+    connect(this,SIGNAL(allGhostsPicked()),this,SLOT(nextLevel()));
+
 
     pVibrateAction_ = new QAction(tr("Vibration effects"),this);
     pVibrateAction_->setCheckable(true);
@@ -426,6 +428,10 @@ void SeaScene::handleScreenTapped()
 
     clearSelection();
 
+    //The user propably went to paused state just to access menu, so unpause
+
+    pPauseAction_->setChecked(false);
+
 }