From 66c8fc4831a58cd34ea4a410b5191b44388613f2 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 29 Sep 2020 14:15:30 +0200 Subject: Fix assumed version typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deprecated from 6.0, but necessary for migration. Change-Id: Idb1264e6ecca9400086970c15270b803c8fd391b Reviewed-by: Tor Arne Vestbø --- src/gui/kernel/qcursor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/kernel/qcursor.h') diff --git a/src/gui/kernel/qcursor.h b/src/gui/kernel/qcursor.h index c7ebe9366a..1ae60d9311 100644 --- a/src/gui/kernel/qcursor.h +++ b/src/gui/kernel/qcursor.h @@ -98,10 +98,10 @@ public: Qt::CursorShape shape() const; void setShape(Qt::CursorShape newShape); -#if QT_DEPRECATED_SINCE(6, 6) +#if QT_DEPRECATED_SINCE(6, 0) QBitmap bitmap(Qt::ReturnByValueConstant) const { return bitmap(); } QBitmap mask(Qt::ReturnByValueConstant) const { return mask(); } -#endif // QT_DEPRECATED_SINCE(6, 6) +#endif // QT_DEPRECATED_SINCE(6, 0) QBitmap bitmap() const; QBitmap mask() const; -- cgit v1.2.3