Qt: fixed resizing of maximized window (patch #858).
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user