summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcursor.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-09-29 14:15:30 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-09-30 00:10:54 +0200
commit66c8fc4831a58cd34ea4a410b5191b44388613f2 (patch)
tree1a1979ae874b155cfde641f732149285ecad4c3f /src/gui/kernel/qcursor.h
parent0c07f0cab8da55a9889186749f7419a790595a7b (diff)
Fix assumed version typo
Deprecated from 6.0, but necessary for migration. Change-Id: Idb1264e6ecca9400086970c15270b803c8fd391b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qcursor.h')
-rw-r--r--src/gui/kernel/qcursor.h4
1 files changed, 2 insertions, 2 deletions
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;