diff options
author | Jirka Novak <j.novak@netsystem.cz> | 2021-03-23 11:37:59 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-03-24 20:02:41 +0000 |
commit | f10ebb959d5e0fd1bd05a9bddeed0b37ed1ef8b3 (patch) | |
tree | e430f19ffd3b68eb98c9f7be7bf5ec6ea476ca11 /ui/qt/rtp_stream_dialog.cpp | |
parent | 4b1dad3f2e232967fb954e98c908e2901fc96786 (diff) |
VoIP UI: Added shortcuts for dialog buttons
VoIP/SIP Calls, Sequence, RTP Streams, RTP Player and RTP Analysis
dialogs have shortcuts assigned. Shortcuts are same over all dialogs.
Diffstat (limited to 'ui/qt/rtp_stream_dialog.cpp')
-rw-r--r-- | ui/qt/rtp_stream_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/rtp_stream_dialog.cpp b/ui/qt/rtp_stream_dialog.cpp index 9773dbff58..82ecd907ff 100644 --- a/ui/qt/rtp_stream_dialog.cpp +++ b/ui/qt/rtp_stream_dialog.cpp @@ -278,11 +278,11 @@ RtpStreamDialog::RtpStreamDialog(QWidget &parent, CaptureFile &cf) : prepare_button_ = ui->buttonBox->addButton(ui->actionPrepareFilter->text(), QDialogButtonBox::ActionRole); prepare_button_->setToolTip(ui->actionPrepareFilter->toolTip()); player_button_ = RtpPlayerDialog::addPlayerButton(ui->buttonBox); - copy_button_ = ui->buttonBox->addButton(tr("Copy"), QDialogButtonBox::ActionRole); - export_button_ = ui->buttonBox->addButton(tr("Export"), QDialogButtonBox::ActionRole); + copy_button_ = ui->buttonBox->addButton(ui->actionCopyButton->text(), QDialogButtonBox::ActionRole); + copy_button_->setToolTip(ui->actionCopyButton->toolTip()); + export_button_ = ui->buttonBox->addButton(ui->actionExportAsRtpDump->text(), QDialogButtonBox::ActionRole); export_button_->setToolTip(ui->actionExportAsRtpDump->toolTip()); - QMenu *copy_menu = new QMenu(copy_button_); QAction *ca; ca = copy_menu->addAction(tr("as CSV")); |