diff options
author | Gerald Combs <gerald@zing.org> | 2014-12-22 15:51:36 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-12-29 01:42:13 +0000 |
commit | e8ec11fb7e67f83a7296f1e87451f3d7ddd5d85d (patch) | |
tree | ebac5b8251ca402bbb09dce014bdd883fd192f3b /ui/qt/endpoint_dialog.cpp | |
parent | c1d9d93efb3581f11ea8115e5b1d6a4c7105a1d2 (diff) | |
download | wireshark-e8ec11fb7e67f83a7296f1e87451f3d7ddd5d85d.tar.gz |
Qt: Add a WiresharkDialog convenience class.
Add WiresharkDialog, a common base class for dialogs centered around
capture files. Make it a parent of Capture File Properties, Traffic
Table, Conversations, and Endpoints.
Rename CaptureFile::read_only_ to file_closed_. Add methods to
WiresharkApplication for generating consistent window titles.
Change-Id: Idc771556d8192e60f85dddc08fc4757698dee257
Reviewed-on: https://code.wireshark.org/review/6097
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/endpoint_dialog.cpp')
-rw-r--r-- | ui/qt/endpoint_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/endpoint_dialog.cpp b/ui/qt/endpoint_dialog.cpp index e726a66bf6..fc884e533a 100644 --- a/ui/qt/endpoint_dialog.cpp +++ b/ui/qt/endpoint_dialog.cpp @@ -41,7 +41,7 @@ #include <QUrl> const QString table_name_ = QObject::tr("Endpoint"); -EndpointDialog::EndpointDialog(QWidget *parent, CaptureFile &cf, int cli_proto_id, const char *filter) : +EndpointDialog::EndpointDialog(QWidget &parent, CaptureFile &cf, int cli_proto_id, const char *filter) : TrafficTableDialog(parent, cf, filter, table_name_) { #ifdef HAVE_GEOIP |