diff options
author | Michael Mann <mmann78@netscape.net> | 2018-01-06 21:40:19 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-08 09:08:42 +0000 |
commit | c53412f7db226b99e6e747364ff75e7788ed3575 (patch) | |
tree | 4ca737e2dc97fced6a838ca057453f3635101e13 /ui/qt/widgets/pref_module_view.h | |
parent | 985f7d023e1461b5e58b37b4e207b3665278df51 (diff) |
Bugfix the sort order of protocols in Preference dialog.
Sort properly by module title.
Also consolidate some of the searching in PrefModuleTreeView.
Change-Id: I5312581c63f8626de08bd9f03613219b34bf968a
Reviewed-on: https://code.wireshark.org/review/25176
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/widgets/pref_module_view.h')
-rw-r--r-- | ui/qt/widgets/pref_module_view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/widgets/pref_module_view.h b/ui/qt/widgets/pref_module_view.h index 8a1b871bfc..f88581117d 100644 --- a/ui/qt/widgets/pref_module_view.h +++ b/ui/qt/widgets/pref_module_view.h @@ -29,6 +29,8 @@ protected slots: void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); private: + QModelIndex findModule(QModelIndex &parent, const QString& name); + //cache the translation of the module names we check frequently QString appearanceName_; }; |