Contextualize singleShots

This commit is contained in:
Bart De Vries 2021-05-28 16:54:00 +02:00
parent 858601aec3
commit b776dd22cb
1 changed files with 2 additions and 2 deletions

View File

@ -437,7 +437,7 @@ void AudioManager::playerVolumeChanged()
{
// qDebug() << "AudioManager::playerVolumeChanged" << d->m_player.volume();
QTimer::singleShot(0, [this]() {
QTimer::singleShot(0, this, [this]() {
Q_EMIT volumeChanged();
});
}
@ -446,7 +446,7 @@ void AudioManager::playerMutedChanged()
{
// qDebug() << "AudioManager::playerMutedChanged";
QTimer::singleShot(0, [this]() {
QTimer::singleShot(0, this, [this]() {
Q_EMIT mutedChanged(muted());
});
}