aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/module_preferences_scroll_area.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/module_preferences_scroll_area.h')
-rw-r--r--ui/qt/module_preferences_scroll_area.h2
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 *);