aboutsummaryrefslogtreecommitdiffstats
path: root/ui/preference_utils.h
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2015-03-09 08:11:13 +0100
committerMichal Labedzki <michal.labedzki@tieto.com>2015-05-15 06:05:01 +0000
commit57716e13659a8c9c26124e249a86fce9577d609f (patch)
tree4e2d950b9364a4541c9c5bf72774db2689f75d4e /ui/preference_utils.h
parent7f424b5a550f0a5f6d370b46b8ffbb327754fa3d (diff)
Qt: Implement "Apply as Column" for packet context
Implement the same functionality for "Apply as Column" as it exists in the GTK version of Wireshark. Especially for the context menu in the packet view panel. Change-Id: Id25b7797616ff3b3acf7aa920395516c8a4e9bf9 Reviewed-on: https://code.wireshark.org/review/7604 Reviewed-by: Roland Knall <rknall@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'ui/preference_utils.h')
-rw-r--r--ui/preference_utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/preference_utils.h b/ui/preference_utils.h
index e4117d682e..882555d70a 100644
--- a/ui/preference_utils.h
+++ b/ui/preference_utils.h
@@ -86,8 +86,10 @@ extern void prefs_main_write(void);
* @param title column title
* @param custom_field column custom field
* @param custom_occurrence custom occurrence
+ *
+ * @return The index of the inserted column
*/
-void column_prefs_add_custom(gint fmt, const gchar *title,
+gint column_prefs_add_custom(gint fmt, const gchar *title,
const gchar *custom_field,
gint custom_occurrence);