Use same version in deprecation macros

Address API review comment.

Change-Id: Ifd9f9dafc958ab8304f36e2ae6ab2fb5a01a29d8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 6c883f0341084d010b1109b0590c6065e5d34ae9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Volker Hilsheimer 2021-02-17 12:43:43 +01:00 committed by Qt Cherry-pick Bot
parent d458eafbec
commit 5c2cfd7973

View File

@ -230,7 +230,7 @@ public:
void setStyle(QStyle *);
// Widget types and states
#if QT_DEPRECATED_SINCE(6, 2)
#if QT_DEPRECATED_SINCE(6, 1)
QT_DEPRECATED_VERSION_X_6_1("Use isWindow()")
bool isTopLevel() const;
#endif