Fixxed issue #294 - Tab refresh problem with a QGLWidget

This commit is contained in:
Uwe Kindler
2021-06-17 20:32:45 +02:00
parent edc89555bc
commit 511132ee4f
2 changed files with 26 additions and 0 deletions

View File

@@ -1030,6 +1030,21 @@ void CDockAreaWidget::onDockWidgetFeaturesChanged()
}
#ifdef Q_OS_WIN
//============================================================================
bool CDockAreaWidget::event(QEvent *e)
{
switch (e->type())
{
case QEvent::PlatformSurface: return true;
default:
break;
}
return Super::event(e);
}
#endif
} // namespace ads
//---------------------------------------------------------------------------