summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qinputchord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/frontend/qinputchord.cpp')
-rw-r--r--src/input/frontend/qinputchord.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qinputchord.cpp b/src/input/frontend/qinputchord.cpp
index a64cc8961..0c4d15190 100644
--- a/src/input/frontend/qinputchord.cpp
+++ b/src/input/frontend/qinputchord.cpp
@@ -154,7 +154,7 @@ void QInputChord::addChord(QAbstractActionInput *input)
if (!input->parent())
input->setParent(this);
- d->update();
+ d->updateNode(input, "input", Qt3DCore::PropertyValueAdded);
}
}
@@ -167,7 +167,7 @@ void QInputChord::removeChord(QAbstractActionInput *input)
{
Q_D(QInputChord);
if (d->m_chords.contains(input)) {
- d->update();
+ d->updateNode(input, "input", Qt3DCore::PropertyValueRemoved);
d->m_chords.removeOne(input);