From bfe73e3ad7162830c222a5b0d73433a72324baa5 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Tue, 15 Dec 2015 19:47:02 +0100 Subject: Qt: save custom colors in recent_common file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows to save colors across sessions for systems other than OSX that do not provide a system wide color picker While we are at it, let's stop reading the recent file twice at startup Bug: 11888 Change-Id: I69ff14d699d8111fe6a8bdac0157fcd115a60c2b Reviewed-on: https://code.wireshark.org/review/12659 Reviewed-by: Pascal Quantin Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke --- ui/recent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/recent.h') diff --git a/ui/recent.h b/ui/recent.h index 766f5be473..4daf917878 100644 --- a/ui/recent.h +++ b/ui/recent.h @@ -102,6 +102,7 @@ typedef struct recent_settings_tag { GList *endpoint_tabs; /* enabled endpoint dialog tabs */ gchar *gui_fileopen_remembered_dir; /* folder of last capture loaded in File Open dialog */ gboolean gui_rlc_use_pdus_from_mac; + GList *custom_colors; } recent_settings_t; /** Global recent settings. */ -- cgit v1.2.1