summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlobjectflowobject.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-10-29 08:42:34 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-10-29 12:38:52 +0100
commit81cb4927b06b9c50c1be1107f04bb0877112cb6c (patch)
treec7cd9e13ca85d1b4818a2d4d90d10123e7f3f609 /src/uml/qobjects/qumlobjectflowobject.cpp
parentc9af31e57a3977ea74bf9d9196e187c751a676ce (diff)
Fix reset of boolean properties
Change-Id: I4dbf905a4aa7e0df53a4e894748d40c77e9fe787 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qobjects/qumlobjectflowobject.cpp')
-rw-r--r--src/uml/qobjects/qumlobjectflowobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uml/qobjects/qumlobjectflowobject.cpp b/src/uml/qobjects/qumlobjectflowobject.cpp
index e2e43ddd..c86e1527 100644
--- a/src/uml/qobjects/qumlobjectflowobject.cpp
+++ b/src/uml/qobjects/qumlobjectflowobject.cpp
@@ -400,7 +400,7 @@ void QUmlObjectFlowObject::unsetLeaf()
{
Q_D(QModelingObject);
setLeaf(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isLeaf"));
}
void QUmlObjectFlowObject::addRedefinedElement(QObject *redefinedElement)
@@ -501,7 +501,7 @@ void QUmlObjectFlowObject::unsetMulticast()
{
Q_D(QModelingObject);
setMulticast(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("multicast"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isMulticast"));
}
void QUmlObjectFlowObject::setMultireceive(bool isMultireceive)
@@ -513,7 +513,7 @@ void QUmlObjectFlowObject::unsetMultireceive()
{
Q_D(QModelingObject);
setMultireceive(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("multireceive"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isMultireceive"));
}
void QUmlObjectFlowObject::setSelection(QObject *selection)