diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-07-11 11:32:49 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-07-21 19:59:07 +0200 |
commit | 24de000a9cb0b2dc2f959fa65502ef805a4fc544 (patch) | |
tree | be0645f607cdcb1690f210a75873745cfc26b927 /src/gui/kernel/qguiapplication.cpp | |
parent | 6a0e59ed506ecb7d6a1bc17beedd938d36a1d26f (diff) |
QCursor: add missing QT_DEPRECATED_VERSION_X_6_0 for deprecated methods
When the method is wrapped into
if QT_DEPRECATED_SINCE(MAJ, MIN)
we also need to add QT_DEPRECATED_VERSION_[X_]_MAJ_MIN macro right in
front of the method declaraion, to actually trigger a deprecation
warning.
This patch does that for QCursor's deprecated methods, and fixes all
related compilation warnings in QtBase.
Task-number: QTBUG-104857
Pick-to: 6.4 6.3 6.2
Change-Id: Ic8d059e8c852d4b2dee55e7ea94f4fc7a402cdf4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
0 files changed, 0 insertions, 0 deletions