Fixing the bug #4244 that I just reported in code.opencv.org

This commit is contained in:
Luis Díaz Más 2015-03-18 20:07:08 +01:00
parent 2c9547e314
commit d14a1de947

View File

@ -1848,7 +1848,7 @@ bool CvWindow::isOpenGl()
void CvWindow::setViewportSize(QSize _size)
{
myView->getWidget()->resize(_size);
resize(_size);
myView->setSize(_size);
}