summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qcomputecommand.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2019-09-19 09:57:53 +0200
committerPaul Lemire <paul.lemire@kdab.com>2019-09-25 11:41:37 +0200
commitcca7720e68a3bf64dbf549b06ba13547cb29181c (patch)
tree508738a646160deb682dafba057ca168617cda53 /src/render/frontend/qcomputecommand.cpp
parente498e2fc16a09cab315ffaf88eea1679fe2a436d (diff)
Update QComputeCommand to use direct sync
Change-Id: I5e755bbc7e3a948f7f2356d7110ac817ae32616a Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/render/frontend/qcomputecommand.cpp')
-rw-r--r--src/render/frontend/qcomputecommand.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/render/frontend/qcomputecommand.cpp b/src/render/frontend/qcomputecommand.cpp
index 8b176cd4f..b0bec42d4 100644
--- a/src/render/frontend/qcomputecommand.cpp
+++ b/src/render/frontend/qcomputecommand.cpp
@@ -156,10 +156,7 @@ QComputeCommandPrivate::QComputeCommandPrivate()
void QComputeCommandPrivate::setFrameCount(int frameCount)
{
m_frameCount = frameCount;
- const auto propertyChange = Qt3DCore::QPropertyUpdatedChangePtr::create(m_id);
- propertyChange->setPropertyName("frameCount");
- propertyChange->setValue(m_frameCount);
- notifyObservers(propertyChange);
+ update();
}
/*!