From 4f3fb040a4c4b5d967df08e81a6dc1641ff7890d Mon Sep 17 00:00:00 2001 From: Ilya Lysenkov Date: Thu, 16 Jun 2011 12:44:04 +0000 Subject: [PATCH] Qt: fixed resizing of maximized window (patch #858). --- modules/highgui/src/window_QT.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/highgui/src/window_QT.cpp b/modules/highgui/src/window_QT.cpp index 6dab2b52e..712d6389b 100755 --- a/modules/highgui/src/window_QT.cpp +++ b/modules/highgui/src/window_QT.cpp @@ -1020,7 +1020,10 @@ void GuiReceiver::resizeWindow(QString name, int width, int height) QPointer w = icvFindWindowByName( name.toLatin1().data() ); if (w) + { + w->showNormal(); w->resize(width, height); + } } void GuiReceiver::enablePropertiesButtonEachWindow()