QmlDesigner: Fix compile for gcc 4.9

Change-Id: I7ec825c7c719d46524358d45bec3a93072112cac
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2017-09-26 07:11:46 +02:00
parent 295d3d7170
commit cd4218f85a

View File

@@ -142,10 +142,10 @@ void QmlTimelineMutator::addFramesIfNotExists(const ModelNode &node, const Prope
bool QmlTimelineMutator::hasFrames(const ModelNode &node, const PropertyName &propertyName) const
{
for (const QmlTimelineFrames &frames : frames()) {
if (frames.target().isValid()
&& frames.target() == node
&& frames.propertyName() == propertyName)
for (const QmlTimelineFrames &tFrames : frames()) {
if (tFrames.target().isValid()
&& tFrames.target() == node
&& tFrames.propertyName() == propertyName)
return true;
}