QFontDatabase: Update docs for QGuiApplication::fontDatabaseChanged()

The signal can be emitted not only when user fonts are added or removed,
but also when the system fonts change.

Change-Id: I8f066ac87e7bc68843cd9014cd3c31af2f3a7890
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Tor Arne Vestbø 2022-03-28 15:03:53 +02:00
parent 0b4446e16f
commit 316a140acb

View File

@ -4173,7 +4173,10 @@ QInputMethod *QGuiApplication::inputMethod()
/*!
\fn void QGuiApplication::fontDatabaseChanged()
This signal is emitted when application fonts are loaded or removed.
This signal is emitted when the available fonts have changed.
This can happen when application fonts are added or removed, or when the
system fonts change.
\sa QFontDatabase::addApplicationFont(),
QFontDatabase::addApplicationFontFromData(),