mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0027922: Samples - Qt sample document window display problem
This commit is contained in:
@@ -152,8 +152,8 @@ Standard_Real OcctWindow::Ratio() const
|
||||
void OcctWindow::Size ( Standard_Integer& theWidth, Standard_Integer& theHeight ) const
|
||||
{
|
||||
QRect aRect = myWidget->rect();
|
||||
theWidth = aRect.right();
|
||||
theHeight = aRect.bottom();
|
||||
theWidth = aRect.width();
|
||||
theHeight = aRect.height();
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
|
Reference in New Issue
Block a user