Autopausetimer now singleshot
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 20 Jul 2011 13:49:45 +0000 (16:49 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 20 Jul 2011 13:49:45 +0000 (16:49 +0300)
seascene.cpp

index b483311..3131d75 100644 (file)
@@ -82,6 +82,7 @@ SeaScene::SeaScene(QObject *parent) :
     connect(pPauseAction_,SIGNAL(toggled(bool)),this,SLOT(pause(bool)));
 
 
+    autopauseTimer.setSingleShot(true);
     autopauseTimer.setInterval(15*60*1000);
     connect(&autopauseTimer,SIGNAL(timeout()),this,SLOT(forcePause()));