aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_interfaces_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-05-31 12:43:42 -0700
committerGerald Combs <gerald@wireshark.org>2016-05-31 22:09:05 +0000
commit99f4ccb7a0b202af6f8e02252d8b23935e7f4825 (patch)
treeb75e56e430a2f21e58caee5dee62dcf3a446b26f /ui/qt/capture_interfaces_dialog.h
parent469719f39d82eaa89646ec8471f91dee884723f6 (diff)
Qt: Use a standard "Start" button in Capture Options.
QDialogButtonBox does a fine job of creating and managing buttons. Instead of creating our own "Start" button, just rename the "OK" button. This matches what we do elsewhere, e.g. in the Extcap Options dialog. Change-Id: I3c5eec1f01925f7b82c4e7360d685acbe4bb2fea Reviewed-on: https://code.wireshark.org/review/15653 Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/capture_interfaces_dialog.h')
-rw-r--r--ui/qt/capture_interfaces_dialog.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/qt/capture_interfaces_dialog.h b/ui/qt/capture_interfaces_dialog.h
index ed3b05e523..0a7f2efa04 100644
--- a/ui/qt/capture_interfaces_dialog.h
+++ b/ui/qt/capture_interfaces_dialog.h
@@ -94,7 +94,7 @@ private slots:
void on_manageButton_clicked();
void on_cbResolveNetworkNames_toggled(bool checked);
void on_cbResolveTransportNames_toggled(bool checked);
- void startButtonClicked();
+ void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void interfaceSelected();
@@ -121,8 +121,6 @@ private:
Ui::CaptureInterfacesDialog *ui;
Qt::CheckState m_pressedItemState;
- QPushButton *start_bt_;
- QPushButton *stop_bt_;
if_stat_cache_t *stat_cache_;
QTimer *stat_timer_;
InterfaceTreeDelegate interface_item_delegate_;