diff options
author | Olivier De Cannière <[email protected]> | 2025-04-25 18:54:39 +0200 |
---|---|---|
committer | Olivier De Cannière <[email protected]> | 2025-04-29 09:46:49 +0200 |
commit | 959836a5b3e2cc106ed8c05649c81ed873aa12e2 (patch) | |
tree | 28713cd6cbdfb57a4230a3a76d1bb7f0e20b8ab9 /src/qmlcompiler/qqmljsloggingutils.h | |
parent | 3f876d603378d6fd6e2ec5524a54060121cc6cdd (diff) |
qmllint: Warn about reads of non-constant and non-notifiable properties
The binding might not update if their value changes.
Fixes: QTBUG-112508
Change-Id: I27801d662117a89c0fdddc2aaa2f1dde21b238df
Reviewed-by: Sami Shalayel <[email protected]>
Diffstat (limited to 'src/qmlcompiler/qqmljsloggingutils.h')
-rw-r--r-- | src/qmlcompiler/qqmljsloggingutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsloggingutils.h b/src/qmlcompiler/qqmljsloggingutils.h index 25a7153b07..d6b3b063c3 100644 --- a/src/qmlcompiler/qqmljsloggingutils.h +++ b/src/qmlcompiler/qqmljsloggingutils.h @@ -82,6 +82,7 @@ extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlAssignmentInConditi extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlEval; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlRedundantOptionalChaining; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlUnreachableCode; +extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlStalePropertyRead; QT_END_NAMESPACE |