summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlreceptionobject.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/qumlreceptionobject.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/qumlreceptionobject.cpp')
-rw-r--r--src/uml/qobjects/qumlreceptionobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uml/qobjects/qumlreceptionobject.cpp b/src/uml/qobjects/qumlreceptionobject.cpp
index 613a13fa..1491aba4 100644
--- a/src/uml/qobjects/qumlreceptionobject.cpp
+++ b/src/uml/qobjects/qumlreceptionobject.cpp
@@ -507,7 +507,7 @@ void QUmlReceptionObject::unsetLeaf()
{
Q_D(QModelingObject);
setLeaf(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isLeaf"));
}
void QUmlReceptionObject::addRedefinedElement(QObject *redefinedElement)
@@ -551,7 +551,7 @@ void QUmlReceptionObject::unsetStatic()
{
Q_D(QModelingObject);
setStatic(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("static"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isStatic"));
}
// SLOTS FOR OWNED ATTRIBUTES [BehavioralFeature]
@@ -577,7 +577,7 @@ void QUmlReceptionObject::unsetAbstract()
{
Q_D(QModelingObject);
setAbstract(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("abstract"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isAbstract"));
}
void QUmlReceptionObject::addMethod(QObject *method)