diff options
| author | Sandro S. Andrade <sandroandrade@kde.org> | 2013-10-12 22:01:19 -0300 |
|---|---|---|
| committer | Sandro S. Andrade <sandroandrade@kde.org> | 2013-10-13 02:58:05 +0200 |
| commit | b505b189ff61ba1d325d95d6ef928aa146bb4c05 (patch) | |
| tree | 38ee0e2c091982bd457a491c6ee9e4f664c2ac77 /src/uml/qobjects/qumlpseudostateobject.cpp | |
| parent | a1782d07b9750884cdf995bfd87eef3edebed3bb (diff) | |
Move QModelingElement and QModelingObject removal to base classes
Change-Id: I48fbd0e1c63e5627137b00a26fcbe7ea82eaa78f
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qobjects/qumlpseudostateobject.cpp')
| -rw-r--r-- | src/uml/qobjects/qumlpseudostateobject.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/uml/qobjects/qumlpseudostateobject.cpp b/src/uml/qobjects/qumlpseudostateobject.cpp index 7bfcf132..3f927250 100644 --- a/src/uml/qobjects/qumlpseudostateobject.cpp +++ b/src/uml/qobjects/qumlpseudostateobject.cpp @@ -63,14 +63,6 @@ QUmlPseudostateObject::QUmlPseudostateObject(QUmlPseudostate *modelingElement) setPropertyData(); } -QUmlPseudostateObject::~QUmlPseudostateObject() -{ - if (!property("deletingFromModelingObject").isValid()) { - qmodelingelementproperty_cast<QUmlPseudostate *>(this)->deletingFromQModelingObject = true; - delete qmodelingelementproperty_cast<QUmlComment *>(this); - } -} - // OWNED ATTRIBUTES [Element] const QSet<QObject *> QUmlPseudostateObject::ownedComments() const |
