diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/qmllint/quick/quicklintplugin.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/qmllint/quick/quicklintplugin.cpp b/src/plugins/qmllint/quick/quicklintplugin.cpp index b2248d3896..6e2d1e7382 100644 --- a/src/plugins/qmllint/quick/quicklintplugin.cpp +++ b/src/plugins/qmllint/quick/quicklintplugin.cpp @@ -255,12 +255,6 @@ void AnchorsValidatorPass::run(const QQmlSA::Element &element) bottom = srcLoc; else if (propertyName == u"baseline") baseline = srcLoc; - - if (propertyName == u"horizontalCenter" || propertyName == u"verticalCenter") { - if (groupBinding.bindingType() == QQmlJSMetaPropertyBinding::Null) { - emitWarning("Cannot anchor to a null item.", srcLoc); - } - } } } |
