summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlparameterobject.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/qumlparameterobject.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/qumlparameterobject.cpp')
-rw-r--r--src/uml/qobjects/qumlparameterobject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uml/qobjects/qumlparameterobject.cpp b/src/uml/qobjects/qumlparameterobject.cpp
index 26fe4526..0e9223d0 100644
--- a/src/uml/qobjects/qumlparameterobject.cpp
+++ b/src/uml/qobjects/qumlparameterobject.cpp
@@ -392,7 +392,7 @@ void QUmlParameterObject::unsetOrdered()
{
Q_D(QModelingObject);
setOrdered(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("ordered"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isOrdered"));
}
void QUmlParameterObject::setUnique(bool isUnique)
@@ -405,7 +405,7 @@ void QUmlParameterObject::unsetUnique()
Q_D(QModelingObject);
setUnique(true);
- d->modifiedResettableProperties.removeAll(QStringLiteral("unique"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isUnique"));
}
void QUmlParameterObject::setLower(int lower)
@@ -547,7 +547,7 @@ void QUmlParameterObject::unsetException()
{
Q_D(QModelingObject);
setException(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("exception"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isException"));
}
void QUmlParameterObject::setStream(bool isStream)
@@ -559,7 +559,7 @@ void QUmlParameterObject::unsetStream()
{
Q_D(QModelingObject);
setStream(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("stream"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isStream"));
}
void QUmlParameterObject::setOperation(QObject *operation)