diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-10-08 11:31:42 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-10-08 20:14:35 +0000 |
commit | f274902be581b52db68c66f4864d85b7ea8fefe4 (patch) | |
tree | ec178b5a5e9ece6c00d7ea78f8005b085b4cf992 /ui/qt/voip_calls_dialog.cpp | |
parent | 03d853400c61f6784e6ccf37fe5a5ba7f7da312a (diff) |
Qt: Add a play button to the RTP Stream Analysis dialog.
Rename the "Play Call" button to "Play Streams". Move the button
creation code to a common routine. Use it to add a "Play Streams" button
to the RTP Stream Analysis, similar to the GTK+ UI.
Don't restrict RTP to IPv[46] as suggested by Michal. I don't have any
RTP-over-Bluetooth captures so I can't test this directly.
Change-Id: I4703cac1d5bf5b3ff0255d36da2c5164feb0547d
Reviewed-on: https://code.wireshark.org/review/10888
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/voip_calls_dialog.cpp')
-rw-r--r-- | ui/qt/voip_calls_dialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/voip_calls_dialog.cpp b/ui/qt/voip_calls_dialog.cpp index 8a49fe07fc..ee15caf6ca 100644 --- a/ui/qt/voip_calls_dialog.cpp +++ b/ui/qt/voip_calls_dialog.cpp @@ -185,8 +185,7 @@ VoipCallsDialog::VoipCallsDialog(QWidget &parent, CaptureFile &cf, bool all_flow prepare_button_ = ui->buttonBox->addButton(tr("Prepare Filter"), QDialogButtonBox::ApplyRole); sequence_button_ = ui->buttonBox->addButton(tr("Flow Sequence"), QDialogButtonBox::ApplyRole); - player_button_ = ui->buttonBox->addButton(tr("Play Call"), QDialogButtonBox::ApplyRole); - player_button_->setIcon(StockIcon("media-playback-start")); + player_button_ = RtpPlayerDialog::addPlayerButton(ui->buttonBox); // XXX Use recent settings instead resize(parent.width() * 4 / 5, parent.height() * 2 / 3); |