summaryrefslogtreecommitdiffstats
path: root/src/uml/qumltimeconstraint.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-08-27 12:01:42 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-08-27 17:12:52 +0200
commit53b5fa7c58cc496b34679f51e6fcedfaa5f5d448 (patch)
treea131696409baa9a6a14294c5d22e4c9cb7eab7cd /src/uml/qumltimeconstraint.cpp
parentbc5342512ed3605bbd1953eaf395fe137ca239f0 (diff)
Fix return value for QList/QSet properties
Add initialization of QObject properties from XMI-declared default values Change-Id: I1a5c097463aa492b121991cf6e569b38222cfdda Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qumltimeconstraint.cpp')
-rw-r--r--src/uml/qumltimeconstraint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uml/qumltimeconstraint.cpp b/src/uml/qumltimeconstraint.cpp
index 33c2a1fe..dea56895 100644
--- a/src/uml/qumltimeconstraint.cpp
+++ b/src/uml/qumltimeconstraint.cpp
@@ -57,7 +57,7 @@ QUmlTimeConstraint::QUmlTimeConstraint() :
_firstEvent(true),
_specification(0)
{
- d_ptr->object.setProperty("firstEvent", QVariant::fromValue(false));
+ d_ptr->object.setProperty("firstEvent", QVariant::fromValue(true));
d_ptr->object.setProperty("specification", QVariant::fromValue((QUmlTimeInterval *)(0)));
}