mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kutils: add explicit option check to controls slot
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
9f60569fe1
commit
49641d6920
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ void KMediaWidget::dropEvent(QDropEvent *event)
|
|||
|
||||
void KMediaWidget::_updateControls(const bool visible)
|
||||
{
|
||||
if (visible != d->m_visible) {
|
||||
if (d->m_hiddencontrols && visible != d->m_visible) {
|
||||
d->m_ui->w_frame->setVisible(visible);
|
||||
emit controlsHidden(visible);
|
||||
d->m_visible = visible;
|
||||
|
|
Loading…
Add table
Reference in a new issue