broulik created this revision. broulik added reviewers: nicolasfella, drosca, sitter. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY Otherwise we would signal an empty `StreamRestore` only to then signal it has changed TEST PLAN connect(PulseAudioQt::Context::instance(), &PulseAudioQt::Context::streamRestoreAdded, this, [this](PulseAudioQt::StreamRestore *resto) { qDebug() << "Restored" << resto->name(); }); prints `Restored "sink-input-by-media-role:event"` now instead of `Restored ""` REPOSITORY R994 Pulseaudio Qt Bindings REVISION DETAIL https://phabricator.kde.org/D20253 AFFECTED FILES src/context.cpp To: broulik, nicolasfella, drosca, sitter Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart