Updated the web pages
[ghostsoverboard] / seaview.cpp
index a0496f3..8b51b88 100644 (file)
@@ -29,7 +29,7 @@ SeaView::SeaView(QWidget *parent) :
     QGraphicsView(parent)
 {
 
-    setWindowIcon(QIcon(":/pix/laiva_3aave.png"));
+
     setWindowTitle("Ghosts Overboard");
 
     pScene_ = new SeaScene ();
@@ -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();
 }
+