diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-03-21 18:56:10 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-21 21:30:39 -0700 |
commit | 9cfc585563ac584b792e8f1a5836ccfd75a3739d (patch) | |
tree | da8d3605c4828993e1d23e360a131ffa72892120 /subsurfacestartup.c | |
parent | 41209005c949a65b3f3adb733ebda052e36980f4 (diff) | |
download | subsurface-9cfc585563ac584b792e8f1a5836ccfd75a3739d.tar.gz |
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 <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r-- | subsurfacestartup.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |