From 4046055cafdea59ea178d41a2bd00f155af6deb2 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Mon, 19 Jan 2015 18:28:39 +0400 Subject: Deprecate QFont:: rawMode()/setRawMode() rawMode only has an effect under X11 in pre-QPA times. Change-Id: Iaff8fed8f4ae5af5dd0399bb3ebd9d590a39a758 Reviewed-by: Lars Knoll --- src/gui/text/qfont.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/text/qfont.h') diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h index df2815ae73..165c4a85b9 100644 --- a/src/gui/text/qfont.h +++ b/src/gui/text/qfont.h @@ -222,9 +222,10 @@ public: void setHintingPreference(HintingPreference hintingPreference); HintingPreference hintingPreference() const; - // is raw mode still needed? +#if QT_DEPRECATED_SINCE(5, 5) bool rawMode() const; void setRawMode(bool); +#endif // dupicated from QFontInfo bool exactMatch() const; -- cgit v1.2.3