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>
This commit is contained in:
Gerald Combs 2019-11-20 15:25:39 -08:00
parent beb1fee658
commit 48725641c9
2 changed files with 1 additions and 2 deletions

View File

@ -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)
{

View File

@ -123,7 +123,7 @@ signals:
protected:
Ui::TrafficTableDialog *ui;
CaptureFile &cap_file_;
// CaptureFile &cap_file_;
QString filter_;
QMenu traffic_type_menu_;
QPushButton *copy_bt_;