aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_interfaces_dialog.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-12-29 11:23:07 -0500
committerRoland Knall <rknall@gmail.com>2018-01-04 21:20:59 +0000
commitd239da264c5d0ca2ecfd609ae3eccced939a4c46 (patch)
treeaa5b490fa2d9c1b4b6899a411bbcca03ccc0659d /ui/qt/capture_interfaces_dialog.h
parenta79b7986cddf40a8ade57638916951323fff581e (diff)
Convert preference dialog to use more models.
Convert Advanced view and Modules view to use a single base model, loading the preferences once and then filter and display what they need with QSortFilterProxyModel derived classes. Convert the PreferencePane "types" to just strings. This allows a more straightforward relationship between the "special" modules that need custom widgets for preference manipulation and it also removes dependency on preferences_dialog.h for many files. Change-Id: I091deb3061564aa4d1564e9ca1c792715961b083 Reviewed-on: https://code.wireshark.org/review/25134 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/capture_interfaces_dialog.h')
-rw-r--r--ui/qt/capture_interfaces_dialog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/capture_interfaces_dialog.h b/ui/qt/capture_interfaces_dialog.h
index 22843b6443..70ff71947d 100644
--- a/ui/qt/capture_interfaces_dialog.h
+++ b/ui/qt/capture_interfaces_dialog.h
@@ -35,8 +35,6 @@
typedef struct if_stat_cache_s if_stat_cache_t;
-#include "preferences_dialog.h"
-
namespace Ui {
class CaptureInterfacesDialog;
}