diff options
author | Roland Knall <roland.knall@br-automation.com> | 2017-12-20 11:26:52 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-12-20 19:42:11 +0000 |
commit | 57d54a2fc0ea02b2e7accc9b9dd824f8b55a39c6 (patch) | |
tree | 1352c8c30f803dd12f6bbd1b08dd1ae233954971 /ui/qt/dissector_tables_dialog.h | |
parent | 153d588972ee4893b664b64f9e8b9f6285972744 (diff) |
Qt: Filter Dissector tables properly
Also cleanup the code a little bit
Change-Id: I53097478fafa46249fa6ecb52508d9bc5b963caa
Reviewed-on: https://code.wireshark.org/review/24908
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/dissector_tables_dialog.h')
-rw-r--r-- | ui/qt/dissector_tables_dialog.h | 8 |
1 files changed, 2 insertions, 6 deletions
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 <ui/qt/geometry_state_dialog.h> #include <ui/qt/models/dissector_tables_model.h> 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_; }; |