summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qcomputecommand.cpp
diff options
context:
space:
mode:
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();
}
/*!