summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-02-17 12:43:43 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-02-18 12:15:37 +0100
commit6c883f0341084d010b1109b0590c6065e5d34ae9 (patch)
tree33a9c96e00e8a1ecffcf43ee4830f49fbc198698 /src/widgets/kernel/qwidget.h
parentedd122548940a0213e35d11649566efbef7f1fea (diff)
Use same version in deprecation macros
Address API review comment. Pick-to: 6.1 Change-Id: Ifd9f9dafc958ab8304f36e2ae6ab2fb5a01a29d8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.h')
-rw-r--r--src/widgets/kernel/qwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qwidget.h b/src/widgets/kernel/qwidget.h
index 11d143d0e4..75fefb8ffd 100644
--- a/src/widgets/kernel/qwidget.h
+++ b/src/widgets/kernel/qwidget.h
@@ -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