Qt: fixed resizing of maximized window (patch #858).

This commit is contained in:
Ilya Lysenkov
2011-06-16 12:44:04 +00:00
parent 0209d72534
commit 4f3fb040a4

View File

@@ -1020,8 +1020,11 @@ void GuiReceiver::resizeWindow(QString name, int width, int height)
QPointer<CvWindow> w = icvFindWindowByName( name.toLatin1().data() ); QPointer<CvWindow> w = icvFindWindowByName( name.toLatin1().data() );
if (w) if (w)
{
w->showNormal();
w->resize(width, height); w->resize(width, height);
} }
}
void GuiReceiver::enablePropertiesButtonEachWindow() void GuiReceiver::enablePropertiesButtonEachWindow()
{ {