aboutsummaryrefslogtreecommitdiffstats
path: root/ui/capture_ui_utils.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-02-23 10:04:16 -0800
committerGerald Combs <gerald@wireshark.org>2016-02-26 17:28:04 +0000
commit070fc33e8501168debf879b9068da5da8e6445d6 (patch)
treeb502f9c492f44ffe73f386dfdf9ea584f1178729 /ui/capture_ui_utils.h
parent10358a2f14a69fbbf0e3042429399e4934a79674 (diff)
Qt: Update selected interface filter behavior.
Change the selected interface behavior in the main window and the capture interfaces dialog to better handle multiple selections. Attempt to document this at the top of interface_tree.cpp. Move the default capture filter code from CaptureFilterEdit to MainWelcome. Add a "conflicting filter" check to CaptureEdit which updates the placeholder text. Handle conflicting filters in the main welcome screen and the capture interfaces dialog. Propagate interface selections and filter updates in the capture interfaces dialog to the main welcome screen. Consolidate some of the interface handling code in InterfaceTree and CaptureInterfacesDialog. Make sure CaptureInterfacesDialog manages the global capture options by device name instead numeric index. Start deprecating prefs.capture_devices_filter and capture_dev_user_cfilter_find. Change some member function names so that they're hopefully more clear and consistent. Ping-Bug: 11886 Change-Id: I63b06dbae29c2c45ee9252092ad54bdcbacae6e6 Reviewed-on: https://code.wireshark.org/review/14129 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/capture_ui_utils.h')
-rw-r--r--ui/capture_ui_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/capture_ui_utils.h b/ui/capture_ui_utils.h
index 5f6cdcd284..8e7ef65b30 100644
--- a/ui/capture_ui_utils.h
+++ b/ui/capture_ui_utils.h
@@ -98,6 +98,8 @@ gboolean capture_dev_user_pmode_find(const gchar *if_name, gboolean *pmode);
* Find user-specified capture filter that matches interface
* name, if any.
*
+ * This is deprecated and should not be used in new code.
+ *
* @param if_name The name of the interface.
*
* @return The capture filter (must be g_free'd later) or NULL if not found.