From 81d5d82b7bfb1a7a1cfe44b8d33befe9b31a2099 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 10 Aug 2016 13:27:03 -0300 Subject: Settings update: Clean up save user id local So, prefs.save_userid_local is being set outside of a preferences set (it's set to true and false while loading the files via xml or git) and because of that I had to bypass a few method calls. When something triggers a preferences change, the application will be notified that the preferences changed, thing that I couldn't do while reading the xml or git because that should be local-only. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- core/dive.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/dive.c') diff --git a/core/dive.c b/core/dive.c index d6fe0c8c4..e2107c120 100644 --- a/core/dive.c +++ b/core/dive.c @@ -3353,11 +3353,6 @@ timestamp_t get_times() return dive->when; } -void set_save_userid_local(short value) -{ - prefs.save_userid_local = value; -} - void set_userid(char *rUserId) { if (prefs.userid) -- cgit v1.2.3-70-g09d2