mirror of https://github.com/KDE/kasts.git
Contextualize singleShots
This commit is contained in:
parent
858601aec3
commit
b776dd22cb
|
@ -437,7 +437,7 @@ void AudioManager::playerVolumeChanged()
|
||||||
{
|
{
|
||||||
// qDebug() << "AudioManager::playerVolumeChanged" << d->m_player.volume();
|
// qDebug() << "AudioManager::playerVolumeChanged" << d->m_player.volume();
|
||||||
|
|
||||||
QTimer::singleShot(0, [this]() {
|
QTimer::singleShot(0, this, [this]() {
|
||||||
Q_EMIT volumeChanged();
|
Q_EMIT volumeChanged();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -446,7 +446,7 @@ void AudioManager::playerMutedChanged()
|
||||||
{
|
{
|
||||||
// qDebug() << "AudioManager::playerMutedChanged";
|
// qDebug() << "AudioManager::playerMutedChanged";
|
||||||
|
|
||||||
QTimer::singleShot(0, [this]() {
|
QTimer::singleShot(0, this, [this]() {
|
||||||
Q_EMIT mutedChanged(muted());
|
Q_EMIT mutedChanged(muted());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue