forked from qt-creator/qt-creator
QmlDesigner: Add workaround for easing and Qt 5
Task-number: QDS-9391 Change-Id: I464c12d3c9b154b4283ee7db5262ca43f7824b56 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -2023,6 +2023,10 @@ const Value *Check::checkScopeObjectMember(const UiQualifiedId *id)
|
|||||||
while (idPart->next) {
|
while (idPart->next) {
|
||||||
const ObjectValue *objectValue = value_cast<ObjectValue>(value);
|
const ObjectValue *objectValue = value_cast<ObjectValue>(value);
|
||||||
if (! objectValue) {
|
if (! objectValue) {
|
||||||
|
|
||||||
|
if (!objectValue && propertyName == "easing")
|
||||||
|
return nullptr;
|
||||||
|
|
||||||
addMessage(ErrDoesNotHaveMembers, idPart->identifierToken, propertyName);
|
addMessage(ErrDoesNotHaveMembers, idPart->identifierToken, propertyName);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user