summaryrefslogtreecommitdiffstats
path: root/src/core/qpostman.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-05-12 23:09:24 +0300
committerPaul Lemire <paul.lemire@kdab.com>2016-05-13 14:43:03 +0000
commit78c015e509b67416b9852abcbfe51cf10c5f7c26 (patch)
treed6e78d9d50da6e73ae311b49c1e7f001b5bb806f /src/core/qpostman.cpp
parentf94b336044d040d07d960c752f147b411b21c87d (diff)
Remove QBackendNodePropertyChange
Not needed as we can just use delivery flags on QPropertyUpdatedChange. Task-number: QTBUG-51494 Change-Id: I53b52ac7a1b226dd30756bcebcdd62bffd3a6fd5 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/qpostman.cpp')
-rw-r--r--src/core/qpostman.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/qpostman.cpp b/src/core/qpostman.cpp
index 2438f60c3..ac78450c6 100644
--- a/src/core/qpostman.cpp
+++ b/src/core/qpostman.cpp
@@ -40,7 +40,6 @@
#include "qpostman_p.h"
#include <private/qobject_p.h>
#include <Qt3DCore/qpropertyupdatedchange.h>
-#include <Qt3DCore/qbackendnodepropertychange.h>
#include <Qt3DCore/private/qscene_p.h>
#include <Qt3DCore/private/qlockableobserverinterface_p.h>
#include <Qt3DCore/qnode.h>
@@ -122,11 +121,10 @@ void QPostman::notifyBackend(const QSceneChangePtr &change)
void QPostman::notifyFrontendNode(const QSceneChangePtr &e)
{
Q_D(QPostman);
- QBackendNodePropertyChangePtr change = qSharedPointerCast<QBackendNodePropertyChange>(e);
- if (!change.isNull() && d->m_scene != nullptr) {
- QNode *n = d->m_scene->lookupNode(change->subjectId());
+ if (!e.isNull() && d->m_scene != nullptr) {
+ QNode *n = d->m_scene->lookupNode(e->subjectId());
if (n != nullptr)
- n->sceneChangeEvent(change);
+ n->sceneChangeEvent(e);
}
}