Commit 1c45d121 authored by Maik Qualmann's avatar Maik Qualmann

polish

parent 9575ac9a
Pipeline #26918 canceled with stage
......@@ -698,9 +698,9 @@ void Digikam::MetadataHub::loadFaceTags(const ItemInfo& info, const QSize& size)
continue;
}
QRect temprect = dface.region().toRect();
TagRegion::reverseToOrientation(temprect, info.orientation(), size);
QRectF faceRect = TagRegion::absoluteToRelative(temprect, size);
QRect tempRect = dface.region().toRect();
TagRegion::reverseToOrientation(tempRect, info.orientation(), size);
QRectF faceRect = TagRegion::absoluteToRelative(tempRect, size);
d->faceTagsList.insert(faceName, QVariant(faceRect));
}
}
......@@ -718,8 +718,8 @@ void Digikam::MetadataHub::setFaceTags(QMultiMap<QString, QVariant> newFaceTags,
for (it = newFaceTags.begin() ; it != newFaceTags.end() ; ++it)
{
QRect temprect = it.value().toRect();
QRectF faceRect = TagRegion::absoluteToRelative(temprect, size);
QRect tempRect = it.value().toRect();
QRectF faceRect = TagRegion::absoluteToRelative(tempRect, size);
d->faceTagsList.insert(it.key(), faceRect);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment