From 050e7bafad3b723fe5be6e981a32e708dbdc5150 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Mon, 6 May 2019 13:37:56 +1000 Subject: wasm: add fixedPitch font Also define our default font so as to return something we actually have Task-number: QTBUG-75587 Change-Id: I26e3c62921d369c3017af9796c0a20f7ac06d07c Reviewed-by: Shawn Rutledge --- src/plugins/platforms/wasm/qwasmtheme.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/platforms/wasm/qwasmtheme.h') diff --git a/src/plugins/platforms/wasm/qwasmtheme.h b/src/plugins/platforms/wasm/qwasmtheme.h index e4cc06e049..7123a1f3d4 100644 --- a/src/plugins/platforms/wasm/qwasmtheme.h +++ b/src/plugins/platforms/wasm/qwasmtheme.h @@ -31,6 +31,7 @@ #define QWASMTHEME_H #include +#include QT_BEGIN_NAMESPACE @@ -49,6 +50,8 @@ public: ~QWasmTheme(); QVariant themeHint(ThemeHint hint) const override; + const QFont *font(Font type) const override; + QFont *fixedFont = nullptr; }; QT_END_NAMESPACE -- cgit v1.2.3