diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-03-28 15:03:53 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-04-05 11:06:23 +0200 |
commit | 316a140acb60ea1d3d25f41821d838e807888b04 (patch) | |
tree | 591bbd78befcc1b2f07d4107b1dcd4a24112002c /src/gui/kernel | |
parent | 0b4446e16fd058b10c0581fd810e6f7bcd8031f7 (diff) |
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>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 6e93ef9e7c..119c57ac19 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -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(), |