diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2013-09-09 03:46:48 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-10 09:44:04 +0200 |
commit | b0b786a2f05e9451a65519ab8904f55c35f51b7d (patch) | |
tree | 0a0049f5851e50bd7d553f1aec00b90ac72b8be5 /src/gui/text/qfontdatabase.cpp | |
parent | 8c58640fdfe5d182cd8ab9ad0598c54c0487eb7c (diff) |
Deprecate QFontDatabase::supportsThreadedFontRendering()
As of 5.0, this always return true.
Change-Id: If225c7219e283da97e870f0d66a87b21c3cacfc0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/qfontdatabase.cpp')
-rw-r--r-- | src/gui/text/qfontdatabase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index 6da103e931..6703f66e29 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -2167,12 +2167,15 @@ QFont QFontDatabase::systemFont(QFontDatabase::SystemFont type) /*! \fn bool QFontDatabase::supportsThreadedFontRendering() \since 4.4 + \deprecated Returns true if font rendering is supported outside the GUI thread, false otherwise. In other words, a return value of false means that all QPainter::drawText() calls outside the GUI thread will not produce readable output. + As of 5.0, always returns true. + \sa {Thread-Support in Qt Modules#Painting In Threads}{Painting In Threads} */ |