D20253: [Context] Update StreamRestore before inserting it

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Apr 4 17:42:09 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190404/c087318c/attachment-0001.html>


More information about the Plasma-devel mailing list