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: