summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumldeploymentspecificationobject.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/qumldeploymentspecificationobject.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/qumldeploymentspecificationobject.cpp')
-rw-r--r--src/uml/qobjects/qumldeploymentspecificationobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uml/qobjects/qumldeploymentspecificationobject.cpp b/src/uml/qobjects/qumldeploymentspecificationobject.cpp
index 4dce986a..ce1373ad 100644
--- a/src/uml/qobjects/qumldeploymentspecificationobject.cpp
+++ b/src/uml/qobjects/qumldeploymentspecificationobject.cpp
@@ -774,7 +774,7 @@ void QUmlDeploymentSpecificationObject::unsetLeaf()
{
Q_D(QModelingObject);
setLeaf(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isLeaf"));
}
void QUmlDeploymentSpecificationObject::addRedefinedElement(QObject *redefinedElement)
@@ -880,7 +880,7 @@ void QUmlDeploymentSpecificationObject::unsetAbstract()
{
Q_D(QModelingObject);
setAbstract(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("abstract"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isAbstract"));
}
void QUmlDeploymentSpecificationObject::setFinalSpecialization(bool isFinalSpecialization)
@@ -892,7 +892,7 @@ void QUmlDeploymentSpecificationObject::unsetFinalSpecialization()
{
Q_D(QModelingObject);
setFinalSpecialization(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("finalSpecialization"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isFinalSpecialization"));
}
void QUmlDeploymentSpecificationObject::setOwnedTemplateSignature(QObject *ownedTemplateSignature)