summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-07-04 13:43:57 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-08-16 17:12:44 +0000
commited631011faab42071f5e4fd4ea978ec0a95b4633 (patch)
tree56a9c9279d21d56092d309ea09a3ee15bb5ae979 /src/plugins/platforms/ios
parent1007964f2d571d5a864015846025bb35c6d79ec2 (diff)
Rename QPlatformFontDatabase::handleAvailableFontsChanged()
The function name was easy to mistake for a function you should call after adding fonts via e.g. registerFont or registerFontFamily, but in reality it's meant to be used when the platform font database knows that fonts have changed in a way that needs a full populate. Pick-to: 6.4 Change-Id: I4a897944aaa5df891562f729440b5d98b54f61e0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios')
-rw-r--r--src/plugins/platforms/ios/qiostheme.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/ios/qiostheme.mm b/src/plugins/platforms/ios/qiostheme.mm
index 390ca2e351..02143bd7a2 100644
--- a/src/plugins/platforms/ios/qiostheme.mm
+++ b/src/plugins/platforms/ios/qiostheme.mm
@@ -34,7 +34,7 @@ QIOSTheme::QIOSTheme()
m_contentSizeCategoryObserver = QMacNotificationObserver(nil,
UIContentSizeCategoryDidChangeNotification, [] {
qCDebug(lcQpaFonts) << "Contents size category changed to" << UIApplication.sharedApplication.preferredContentSizeCategory;
- QPlatformFontDatabase::handleAvailableFontsChanged();
+ QPlatformFontDatabase::repopulateFontDatabase();
});
}