X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=seaview.cpp;h=8b51b88bb0281c0c8419bf2d23fe83517d417d30;hb=5666234c4bc342c067a98aa5138475ab75e2bf06;hp=a0496f3dd8c1494e3204ca1c4713eeb209575e6f;hpb=c69cb5acd614e52f179a7b9754a92f2ea5056fca;p=ghostsoverboard diff --git a/seaview.cpp b/seaview.cpp index a0496f3..8b51b88 100644 --- a/seaview.cpp +++ b/seaview.cpp @@ -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(); } +