summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-03-21 18:56:10 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-21 21:30:39 -0700
commit9cfc585563ac584b792e8f1a5836ccfd75a3739d (patch)
treeda8d3605c4828993e1d23e360a131ffa72892120 /macos.c
parent41209005c949a65b3f3adb733ebda052e36980f4 (diff)
downloadsubsurface-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 'macos.c')
-rw-r--r--macos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/macos.c b/macos.c
index 58619d7af..01c3fbfb5 100644
--- a/macos.c
+++ b/macos.c
@@ -25,7 +25,8 @@
#define ICON_NAME "Subsurface.icns"
#define UI_FONT "Arial 12"
-const char system_divelist_default_font[] = "Arial 10";
+const char system_divelist_default_font[] = "Arial";
+const int system_divelist_default_font_size = 10;
const char *system_default_filename(void)
{