Fix bug 74787

This commit is contained in:
Mikhail Lobotskiy
2025-06-04 16:04:51 +04:00
parent 14ef3be12f
commit 917c3ec2d7

View File

@ -1156,6 +1156,15 @@ void CAscTabWidget::setFullScreen(bool apply, int id)
fsWidget = qobject_cast<CTabPanel *>(m_dataFullScreen->widget());
widget(index)->layout()->addWidget(fsWidget);
// TODO: remove after switching to libVLC libraries on Linux
#ifdef _LINUX
QCefView* cef_media_view = this->findChild<QCefView*>();
if (cef_media_view)
{
cef_media_view->OnMediaEnd();
}
#endif
RELEASEOBJECT(m_dataFullScreen->parent)
RELEASEOBJECT(m_dataFullScreen)
// updateGeometry();