From 6d45c28ed4b14e92c5ca17f206fcc173eb3749d4 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Thu, 1 Mar 2018 22:41:08 +0000 Subject: Document QFont::PreferNoShaping as being since 5.10 "since format" copied from QEvent's documentation. Change-Id: Ib11609cd11f9cb9906d947f46c2cd61c7abd853a Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/gui/text/qfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3