mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kutils: update the play button from KMediaWidget::setPlay()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a735d4ee3b
commit
f744763fcd
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ void KMediaWidget::setPlay(const int value)
|
|||
} else {
|
||||
play = bool(value);
|
||||
}
|
||||
_updatePlay(!play); // the state is known, don't have to wait for paused() signal
|
||||
if (play) {
|
||||
d->m_player->play();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue