mirror of
https://github.com/leozide/leocad
synced 2025-01-18 22:26:44 +01:00
Fixed view preferred size.
This commit is contained in:
parent
aa1d802c04
commit
9f5782294e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ lcViewWidget::~lcViewWidget()
|
||||||
|
|
||||||
QSize lcViewWidget::sizeHint() const
|
QSize lcViewWidget::sizeHint() const
|
||||||
{
|
{
|
||||||
return mPreferredSize.isNull() ? QGLWidget::sizeHint() : mPreferredSize;
|
return mPreferredSize.isEmpty() ? QGLWidget::sizeHint() : mPreferredSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
void lcViewWidget::SetView(lcGLWidget* View)
|
void lcViewWidget::SetView(lcGLWidget* View)
|
||||||
|
|
Loading…
Reference in a new issue