summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontdatabase.cpp21
-rw-r--r--src/gui/text/qfontdatabase.h4
2 files changed, 0 insertions, 25 deletions
diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp
index 523895bc0e..75a0171aab 100644
--- a/src/gui/text/qfontdatabase.cpp
+++ b/src/gui/text/qfontdatabase.cpp
@@ -2472,27 +2472,6 @@ bool QFontDatabase::removeAllApplicationFonts()
}
/*!
- \fn bool QFontDatabase::supportsThreadedFontRendering()
- \since 4.4
- \deprecated
-
- Returns \c 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 \c true.
-
- \sa {Thread-Support in Qt Modules#Painting In Threads}{Painting In Threads}
-*/
-#if QT_DEPRECATED_SINCE(5, 2)
-bool QFontDatabase::supportsThreadedFontRendering()
-{
- return true;
-}
-#endif
-
-/*!
\internal
*/
QFontEngine *QFontDatabase::findFont(const QFontDef &request, int script)
diff --git a/src/gui/text/qfontdatabase.h b/src/gui/text/qfontdatabase.h
index 63e6b48e4f..d1f24837fd 100644
--- a/src/gui/text/qfontdatabase.h
+++ b/src/gui/text/qfontdatabase.h
@@ -149,10 +149,6 @@ public:
static bool removeApplicationFont(int id);
static bool removeAllApplicationFonts();
-#if QT_DEPRECATED_SINCE(5, 2)
- QT_DEPRECATED static bool supportsThreadedFontRendering();
-#endif
-
static QFont systemFont(SystemFont type);
private: