From 57d54a2fc0ea02b2e7accc9b9dd824f8b55a39c6 Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Wed, 20 Dec 2017 11:26:52 +0100 Subject: Qt: Filter Dissector tables properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also cleanup the code a little bit Change-Id: I53097478fafa46249fa6ecb52508d9bc5b963caa Reviewed-on: https://code.wireshark.org/review/24908 Petri-Dish: Roland Knall Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke Reviewed-by: Roland Knall --- ui/qt/dissector_tables_dialog.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ui/qt/dissector_tables_dialog.h') diff --git a/ui/qt/dissector_tables_dialog.h b/ui/qt/dissector_tables_dialog.h index ed73d91ddc..6f3f3d5728 100644 --- a/ui/qt/dissector_tables_dialog.h +++ b/ui/qt/dissector_tables_dialog.h @@ -10,15 +10,13 @@ #ifndef DISSECTOR_TABLES_DIALOG_H #define DISSECTOR_TABLES_DIALOG_H -#include "geometry_state_dialog.h" +#include #include namespace Ui { class DissectorTablesDialog; } -class QTreeWidgetItem; - class DissectorTablesDialog : public GeometryStateDialog { Q_OBJECT @@ -28,13 +26,11 @@ public: ~DissectorTablesDialog(); private slots: - void on_search_line_edit__textChanged(const QString &search_re); - void fillTree(); + void on_txtSearchLine_textChanged(const QString &search_re); private: Ui::DissectorTablesDialog *ui; - DissectorTablesModel* dissector_tables_model_; DissectorTablesProxyModel* proxyModel_; }; -- cgit v1.2.3