Tried to add minimize to menu CRASHES
[ghostsoverboard] / seaview.cpp
index 62c12a4..2bda140 100644 (file)
@@ -42,6 +42,8 @@ SeaView::SeaView(QWidget *parent) :
     connect(this,SIGNAL(goingBackgroung()),pScene_,SLOT(forcePause()));
     connect(this,SIGNAL(goingForeground()),pScene_,SLOT(softContinue()));
 
+    connect(pScene_,SIGNAL(minimizeRequested()),this,SLOT(showMinimized()));
+
     showFullScreen();