Changed back to using forcePause and softContinue when app v0.3.0_fremantle
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 27 Jul 2011 21:33:44 +0000 (00:33 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 27 Jul 2011 21:41:07 +0000 (00:41 +0300)
activated/Deactivated

Previous change caused funny behaviour with showstatusbar

Also removed a misleading comment from seascene.cpp

seascene.cpp
seaview.cpp

index 9ee3925..b877415 100644 (file)
@@ -90,7 +90,7 @@ SeaScene::SeaScene(QObject *parent) :
     connect(pPauseAction_,SIGNAL(toggled(bool)),this,SLOT(pause(bool)));
 
 
-    deviceLockPollTimer_.setInterval(20*60); // 2s
+    deviceLockPollTimer_.setInterval(20*60);
     connect(&deviceLockPollTimer_,SIGNAL(timeout()),this,SLOT(pollDeviceLocked()));
     deviceLockPollTimer_.start();
 
index 55cc504..8b51b88 100644 (file)
@@ -39,8 +39,8 @@ SeaView::SeaView(QWidget *parent) :
 
 
     connect(this,SIGNAL(screenTapped()),pScene_,SLOT(handleScreenTapped()));
-    connect(this,SIGNAL(goingBackgroung()),pScene_,SLOT(turnPauseOn()));
-//    connect(this,SIGNAL(goingForeground()),pScene_,SLOT(softContinue()));
+    connect(this,SIGNAL(goingBackgroung()),pScene_,SLOT(forcePause()));
+    connect(this,SIGNAL(goingForeground()),pScene_,SLOT(softContinue()));
 
     connect(pScene_,SIGNAL(minimizeRequested()),this,SLOT(showNormal()));
     connect(pScene_,SIGNAL(fullscreenRequested()),this,SLOT(showFullScreen()));