Qt: fixed resizing of maximized window (patch #858).
authorIlya Lysenkov <no@email>
Thu, 16 Jun 2011 12:44:04 +0000 (12:44 +0000)
committerIlya Lysenkov <no@email>
Thu, 16 Jun 2011 12:44:04 +0000 (12:44 +0000)
modules/highgui/src/window_QT.cpp

index 6dab2b5..712d638 100755 (executable)
@@ -1020,7 +1020,10 @@ void GuiReceiver::resizeWindow(QString name, int width, int height)
        QPointer<CvWindow> w = icvFindWindowByName( name.toLatin1().data() );\r
 \r
        if (w)\r
+       {
+               w->showNormal();\r
                w->resize(width, height);\r
+       }\r
 }\r
 \r
 void GuiReceiver::enablePropertiesButtonEachWindow()\r