mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kutils: do not stop the player from KMediaWidget destructor
the state is saved before terminating MPV and that may require the player to be playing (not paused or stopped) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d19d80431b
commit
d5e9d695df
1 changed files with 0 additions and 1 deletions
|
@ -135,7 +135,6 @@ KMediaWidget::~KMediaWidget()
|
|||
d->m_volumeline.stop();
|
||||
d->m_player->setVolume(d->m_volumeline.endFrame());
|
||||
}
|
||||
d->m_player->stop();
|
||||
/*
|
||||
Deleting the player has to be done before the UI is deleted because the player is embeded
|
||||
into UI widget and MPV accessing the window ID of d->m_ui->w_player may cause fatal X11 I/O
|
||||
|
|
Loading…
Add table
Reference in a new issue