Fixing the bug #4244 that I just reported in code.opencv.org
This commit is contained in:
parent
2c9547e314
commit
d14a1de947
@ -1848,7 +1848,7 @@ bool CvWindow::isOpenGl()
|
||||
|
||||
void CvWindow::setViewportSize(QSize _size)
|
||||
{
|
||||
myView->getWidget()->resize(_size);
|
||||
resize(_size);
|
||||
myView->setSize(_size);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user