summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorSergio Martins <iamsergio@gmail.com>2018-03-01 22:41:08 +0000
committerSérgio Martins <sergio.martins@kdab.com>2018-03-05 10:11:51 +0000
commit6d45c28ed4b14e92c5ca17f206fcc173eb3749d4 (patch)
treeb33b094d2618c0fe7330451f8badc1fa15a48736 /src/gui/text/qfont.cpp
parent681933c5b8656543c4974a1db5fde093f2934189 (diff)
Document QFont::PreferNoShaping as being since 5.10
"since format" copied from QEvent's documentation. Change-Id: Ib11609cd11f9cb9906d947f46c2cd61c7abd853a Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r--src/gui/text/qfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index 220e89a0c4..c7fff266ad 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -1328,7 +1328,7 @@ QFont::StyleHint QFont::styleHint() const
order to display them correctly. In some writing systems, such as Brahmic scripts, this is
required in order for the text to be legible, but in e.g. Latin script, it is merely
a cosmetic feature. The PreferNoShaping flag will disable all such features when they
- are not required, which will improve performance in most cases.
+ are not required, which will improve performance in most cases (since Qt 5.10).
Any of these may be OR-ed with one of these flags: