Fix bug 68156

This commit is contained in:
Mikhail Lobotskiy
2024-10-04 11:49:40 +04:00
committed by Oleg Korshul
parent 8d39f21e71
commit 00c417d319

View File

@ -500,15 +500,15 @@ void QAscVideoView::RemoveFromPresentation()
if (!m_pInternal->m_bIsPresentationMode)
return;
this->Stop();
// first hide all widgets
this->hide();
this->deleteLater();
Footer()->hide();
Footer()->deleteLater();
Footer()->VolumeControls()->hide();
// then stop player
this->Stop();
// and delete widgets
this->deleteLater();
Footer()->deleteLater();
Footer()->VolumeControls()->deleteLater();
}