diff options
Diffstat (limited to 'src/gui/text/qfontdatabase.h')
-rw-r--r-- | src/gui/text/qfontdatabase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/text/qfontdatabase.h b/src/gui/text/qfontdatabase.h index bd603c3c4a..4e8f718962 100644 --- a/src/gui/text/qfontdatabase.h +++ b/src/gui/text/qfontdatabase.h @@ -150,7 +150,9 @@ public: static bool removeApplicationFont(int id); static bool removeAllApplicationFonts(); - static bool supportsThreadedFontRendering(); +#if QT_DEPRECATED_SINCE(5, 2) + QT_DEPRECATED static inline bool supportsThreadedFontRendering() { return true; } +#endif static QFont systemFont(SystemFont type); |