mirror of
https://github.com/ONLYOFFICE/desktop-sdk.git
synced 2026-03-31 10:23:12 +08:00
Fix bug 68156
This commit is contained in:
committed by
Oleg Korshul
parent
8d39f21e71
commit
00c417d319
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user