summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Bootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootstrap.cxx b/Bootstrap.cxx
index 92fa469..a741ea8 100644
--- a/Bootstrap.cxx
+++ b/Bootstrap.cxx
@@ -20,7 +20,7 @@
#define OVERRIDE_FONT_WEIGHT(A, B) \
{\
auto fontWeight = toml_int_in(bootstrap, A);\
- if (fontWeight.ok) B.setWeight(fontWeight.u.i);\
+ if (fontWeight.ok) B.setWeight(static_cast<QFont::Weight>(fontWeight.u.i));\
}
#define OVERRIDE_COLORS(A, B) \