summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/animationutils.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2019-03-28 10:09:34 +0100
committerPaul Lemire <paul.lemire@kdab.com>2019-05-10 10:10:14 +0000
commit7a310b1f813e3f3c2759c7b316ed9af30f57d5cd (patch)
tree18e7d1b8bc95abd018ed75e3e6aef8248ff236d5 /src/animation/backend/animationutils.cpp
parentf15623b689b43ad0799fe9515b8032418cf724d6 (diff)
QChannelMapping: only send const char *propertyName to backend
It was otherwise sending a QString property as well as the const char *propertyName. Given only propertyName is actually used, remove QString property from the backend to avoid useless confusion and stop sending the notification change. Change-Id: Ie26771e320e26d44d7fce3e0a864bad1d4df558f Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/animation/backend/animationutils.cpp')
-rw-r--r--src/animation/backend/animationutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/backend/animationutils.cpp b/src/animation/backend/animationutils.cpp
index 17826e946..01484476d 100644
--- a/src/animation/backend/animationutils.cpp
+++ b/src/animation/backend/animationutils.cpp
@@ -526,7 +526,7 @@ QVector<MappingData> buildPropertyMappings(const QVector<ChannelMapping*> &chann
if (mappingData.type == static_cast<int>(QVariant::Invalid)) {
qWarning() << "Unknown type for node id =" << mappingData.targetId
- << "and property =" << mapping->property()
+ << "and property =" << mapping->propertyName()
<< "and callback =" << mapping->callback();
continue;
}