Commit e6f7e96f authored by Luis Díaz Más's avatar Luis Díaz Más Committed by Dikay900

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

parent b4c7c011
...@@ -1875,7 +1875,7 @@ bool CvWindow::isOpenGl() ...@@ -1875,7 +1875,7 @@ bool CvWindow::isOpenGl()
void CvWindow::setViewportSize(QSize _size) void CvWindow::setViewportSize(QSize _size)
{ {
myView->getWidget()->resize(_size); resize(_size);
myView->setSize(_size); myView->setSize(_size);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment