diff options
author | Gerald Combs <gerald@zing.org> | 2015-06-14 18:05:02 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-06-15 02:02:41 +0000 |
commit | 9fb6ec6c89631f2fbb5228d8f81a727f6d1fee27 (patch) | |
tree | 71b1bdcfb6e4a20b93df2c7d3642b951b9f18420 /ui/qt/module_preferences_scroll_area.h | |
parent | 6625cf5e52813985a695286aac9ca9fde55e3267 (diff) | |
download | wireshark-9fb6ec6c89631f2fbb5228d8f81a727f6d1fee27.tar.gz |
Qt: Add the ability to show preferences by module name.
Currently unused, but allows feature parity with the GTK+ UI.
Change-Id: I33e0bfb434949aabd75ecd2ed36e696731195542
Reviewed-on: https://code.wireshark.org/review/8922
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/module_preferences_scroll_area.h')
-rw-r--r-- | ui/qt/module_preferences_scroll_area.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/module_preferences_scroll_area.h b/ui/qt/module_preferences_scroll_area.h index 302cdbb8b1..c2bfb72eb3 100644 --- a/ui/qt/module_preferences_scroll_area.h +++ b/ui/qt/module_preferences_scroll_area.h @@ -29,6 +29,7 @@ #include "color.h" #include <epan/prefs.h> +#include <epan/prefs-int.h> #include <QScrollArea> @@ -43,6 +44,7 @@ class ModulePreferencesScrollArea : public QScrollArea public: explicit ModulePreferencesScrollArea(module_t *module, QWidget *parent = 0); ~ModulePreferencesScrollArea(); + const QString name() const { return QString(module_->name); } protected: void showEvent(QShowEvent *); |