mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Qt: fixed resizing of maximized window (patch #858).
This commit is contained in:
parent
0209d72534
commit
4f3fb040a4
@ -1020,7 +1020,10 @@ void GuiReceiver::resizeWindow(QString name, int width, int height)
|
||||
QPointer<CvWindow> w = icvFindWindowByName( name.toLatin1().data() );
|
||||
|
||||
if (w)
|
||||
{
|
||||
w->showNormal();
|
||||
w->resize(width, height);
|
||||
}
|
||||
}
|
||||
|
||||
void GuiReceiver::enablePropertiesButtonEachWindow()
|
||||
|
Loading…
Reference in New Issue
Block a user