diff options
author | Gerald Combs <gerald@wireshark.org> | 2019-11-20 15:25:39 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2019-11-21 00:18:29 +0000 |
commit | 48725641c9029735d25ff4073894e1ee533e247c (patch) | |
tree | 4679b5998edf8710276c08229c48a8c3703f1e64 | |
parent | beb1fee6586725bd37651b8a73a1ef51888e99be (diff) |
Qt: Remove a duplicate variable.
WiresharkDialog defines cap_file_, so there's no need to define it in
TrafficTableDialog.
Change-Id: I71e50da152de619fea71382400820990a05febc1
Reviewed-on: https://code.wireshark.org/review/35169
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r-- | ui/qt/traffic_table_dialog.cpp | 1 | ||||
-rw-r--r-- | ui/qt/traffic_table_dialog.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/traffic_table_dialog.cpp b/ui/qt/traffic_table_dialog.cpp index f2cd5799fa..4d3f4aab63 100644 --- a/ui/qt/traffic_table_dialog.cpp +++ b/ui/qt/traffic_table_dialog.cpp @@ -43,7 +43,6 @@ TrafficTableDialog::TrafficTableDialog(QWidget &parent, CaptureFile &cf, const char *filter, const QString &table_name) : WiresharkDialog(parent, cf), ui(new Ui::TrafficTableDialog), - cap_file_(cf), filter_(filter), nanosecond_timestamps_(false) { diff --git a/ui/qt/traffic_table_dialog.h b/ui/qt/traffic_table_dialog.h index 2e6a7a2600..21573fbdd7 100644 --- a/ui/qt/traffic_table_dialog.h +++ b/ui/qt/traffic_table_dialog.h @@ -123,7 +123,7 @@ signals: protected: Ui::TrafficTableDialog *ui; - CaptureFile &cap_file_; +// CaptureFile &cap_file_; QString filter_; QMenu traffic_type_menu_; QPushButton *copy_bt_; |