diff options
author | Jirka Novak <j.novak@netsystem.cz> | 2021-04-19 15:54:58 +0200 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-04-19 20:04:05 +0000 |
commit | a8ccb6792155184d86fc8193c507212935fcbc0a (patch) | |
tree | 293747f5c7a95f4796c30f68b4eac7a037d57a31 /ui/qt/rtp_stream_dialog.cpp | |
parent | 42c54434a88f41b9415afc86c653035f6c80b82b (diff) |
VoIP Calls: Streams related to calls can be selected in RTP Streams
When user press S(elect)/D(eselect) key, all RTP streams related to
selected call/calls are selected/deselected in RTP Streams window. If
window is not shown, it is opened.
Documentation updated.
Diffstat (limited to 'ui/qt/rtp_stream_dialog.cpp')
-rw-r--r-- | ui/qt/rtp_stream_dialog.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ui/qt/rtp_stream_dialog.cpp b/ui/qt/rtp_stream_dialog.cpp index 2d9ad1a60b..2eefc50b1b 100644 --- a/ui/qt/rtp_stream_dialog.cpp +++ b/ui/qt/rtp_stream_dialog.cpp @@ -339,14 +339,18 @@ void RtpStreamDialog::setRtpStreamSelection(rtpstream_id_t *id, bool state) } } -void RtpStreamDialog::selectRtpStream(rtpstream_id_t *id) +void RtpStreamDialog::selectRtpStream(QVector<rtpstream_id_t *> stream_ids) { - setRtpStreamSelection(id, true); + foreach(rtpstream_id_t *id, stream_ids) { + setRtpStreamSelection(id, true); + } } -void RtpStreamDialog::deselectRtpStream(rtpstream_id_t *id) +void RtpStreamDialog::deselectRtpStream(QVector<rtpstream_id_t *> stream_ids) { - setRtpStreamSelection(id, false); + foreach(rtpstream_id_t *id, stream_ids) { + setRtpStreamSelection(id, false); + } } bool RtpStreamDialog::eventFilter(QObject *, QEvent *event) |