From e19292120b33f55a10f233bdaab7030f4299db66 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 22 Oct 2011 13:00:14 +0200 Subject: [PATCH] Fix two typos: docu for "deprecated since" and Q_DEPR... -> QT_DEPR... Shows that there should be an automated build with QT_DISABLE_DEPRECATED_BEFORE set to 0, too... Change-Id: If154786ea26bcbfab41efcd7001c222cc258a8af Reviewed-by: Olivier Goffart --- src/corelib/global/qglobal.h | 2 +- src/gui/kernel/qevent.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 29025d0e56e..d72de755450 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -66,7 +66,7 @@ Example: #if QT_DEPRECATED_SINCE(5,1) - QT_DEPRECATED void deprecatedFunction(); //function deprecated sine Qt 5.1 + QT_DEPRECATED void deprecatedFunction(); //function deprecated since Qt 5.1 #endif */ #define QT_DEPRECATED_SINCE(major, minor) (QT_VERSION_CHECK(major, minor, 0) > QT_DISABLE_DEPRECATED_BEFORE) diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index ae16776c57d..de888832bf7 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -111,7 +111,7 @@ public: inline Qt::MouseButtons buttons() const { return mouseState; } #if QT_DEPRECATED_SINCE(5, 0) - Q_DEPRECATED inline QPointF posF() const { return l; } + QT_DEPRECATED inline QPointF posF() const { return l; } #endif protected: