mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
41209005c9
commit
9cfc585563
6 changed files with 11 additions and 5 deletions
1
pref.h
1
pref.h
|
|
@ -64,6 +64,7 @@ extern void subsurface_flush_conf(void);
|
|||
extern void subsurface_close_conf(void);
|
||||
|
||||
extern const char system_divelist_default_font[];
|
||||
extern const int system_divelist_default_font_size;
|
||||
extern const char *system_default_filename();
|
||||
|
||||
extern void load_preferences(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue