Merge branch 'minimizebutton'
[ghostsoverboard] / seaview.cpp
index 62c12a4..8b51b88 100644 (file)
@@ -42,6 +42,9 @@ SeaView::SeaView(QWidget *parent) :
     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()));
+
     showFullScreen();
 
 
@@ -114,3 +117,4 @@ void SeaView::initializeBoundaries()
 
     pScene_->restartLevel();
 }
+