diff options
| author | Sandro S. Andrade <sandroandrade@kde.org> | 2013-08-27 12:01:42 -0300 |
|---|---|---|
| committer | Sandro S. Andrade <sandroandrade@kde.org> | 2013-08-27 17:12:52 +0200 |
| commit | 53b5fa7c58cc496b34679f51e6fcedfaa5f5d448 (patch) | |
| tree | a131696409baa9a6a14294c5d22e4c9cb7eab7cd /src/uml/qumltimeconstraint.cpp | |
| parent | bc5342512ed3605bbd1953eaf395fe137ca239f0 (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.cpp | 2 |
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))); } |
