From 9cfc585563ac584b792e8f1a5836ccfd75a3739d Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Fri, 21 Mar 2014 18:56:10 +0100 Subject: Fix system default font handling We didn't care about system default fonts and sizes, we just used the Qt default font. Due to how QFont is constructed, there was need to split font and font size. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- subsurfacestartup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'subsurfacestartup.c') diff --git a/subsurfacestartup.c b/subsurfacestartup.c index 3f410aff4..6d3714b91 100644 --- a/subsurfacestartup.c +++ b/subsurfacestartup.c @@ -170,6 +170,7 @@ void setup_system_prefs(void) const char *env; default_prefs.divelist_font = strdup(system_divelist_default_font); + default_prefs.font_size = system_divelist_default_font_size; default_prefs.default_filename = system_default_filename(); env = getenv("LC_MEASUREMENT"); -- cgit v1.2.3-70-g09d2