diff options
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmtheme.cpp')
-rw-r--r-- | src/plugins/platforms/wasm/qwasmtheme.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/platforms/wasm/qwasmtheme.cpp b/src/plugins/platforms/wasm/qwasmtheme.cpp index 4b99f90591..438e3e1119 100644 --- a/src/plugins/platforms/wasm/qwasmtheme.cpp +++ b/src/plugins/platforms/wasm/qwasmtheme.cpp @@ -35,9 +35,8 @@ QT_BEGIN_NAMESPACE QWasmTheme::QWasmTheme() { - QFontDatabase fdb; - for (auto family : fdb.families()) - if (fdb.isFixedPitch(family)) + for (auto family : QFontDatabase::families()) + if (QFontDatabase::isFixedPitch(family)) fixedFont = new QFont(family); } |