mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Fixing the bug #4244 that I just reported in code.opencv.org
This commit is contained in:
parent
b4c7c011b7
commit
e6f7e96ff4
@ -1875,7 +1875,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