修复osg窗口最小化出现的bug

This commit is contained in:
brige 2025-10-11 08:16:23 +08:00
parent 36d99e8762
commit 8aa83b7a5f

View File

@ -46,6 +46,8 @@ OsgWidget::OsgWidget(QWidget* parent, Qt::WindowFlags f)
connect( &timer_, SIGNAL(timeout()), this, SLOT(update()) ); connect( &timer_, SIGNAL(timeout()), this, SLOT(update()) );
timer_.start( 10 ); timer_.start( 10 );
setMinimumSize(100, 100);
LOG_INFO("OsgWidget::OsgWidget"); LOG_INFO("OsgWidget::OsgWidget");
} }