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 committed by Dikay900
parent b4c7c011b7
commit e6f7e96ff4

View File

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