Commit 4f3fb040 authored by Ilya Lysenkov's avatar Ilya Lysenkov

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

parent 0209d725
...@@ -1020,7 +1020,10 @@ void GuiReceiver::resizeWindow(QString name, int width, int height) ...@@ -1020,7 +1020,10 @@ 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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment