diff options
author | j.novak@netsystem.cz <j.novak@netsystem.cz> | 2021-04-10 08:48:40 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <6629907-ws-gitlab-utility@users.noreply.gitlab.com> | 2021-04-10 08:48:40 +0000 |
commit | 8c6a7c13f9940333cb2f5009d766f67cf9d9cfb4 (patch) | |
tree | 50926e8d32fc0e053a95b0ab3a20f919bcea63ba /ui/qt/rtp_analysis_dialog.cpp | |
parent | e04ea5c108b41c292ef3c1c06fb5dd1d3b6abd63 (diff) |
RTP Player: Fix of opening of multiple dialogs
Diffstat (limited to 'ui/qt/rtp_analysis_dialog.cpp')
-rw-r--r-- | ui/qt/rtp_analysis_dialog.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/qt/rtp_analysis_dialog.cpp b/ui/qt/rtp_analysis_dialog.cpp index c2c7b2427c..17c5517fac 100644 --- a/ui/qt/rtp_analysis_dialog.cpp +++ b/ui/qt/rtp_analysis_dialog.cpp @@ -1079,11 +1079,16 @@ void RtpAnalysisDialog::replaceRtpStreams(QVector<rtpstream_info_t *> stream_inf closeTab(i-1); } } - addRtpStreams(stream_infos); + addRtpStreamsPrivate(stream_infos); } void RtpAnalysisDialog::addRtpStreams(QVector<rtpstream_info_t *> stream_infos) { + addRtpStreamsPrivate(stream_infos); +} + +void RtpAnalysisDialog::addRtpStreamsPrivate(QVector<rtpstream_info_t *> stream_infos) +{ int first_tab_no = -1; foreach(rtpstream_info_t *rtpstream, stream_infos) { |