diff options
Diffstat (limited to 'umbrello/umbrello/dialogs/umlentityattributedialog.cpp')
-rw-r--r-- | umbrello/umbrello/dialogs/umlentityattributedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/dialogs/umlentityattributedialog.cpp b/umbrello/umbrello/dialogs/umlentityattributedialog.cpp index ba111405..55a47857 100644 --- a/umbrello/umbrello/dialogs/umlentityattributedialog.cpp +++ b/umbrello/umbrello/dialogs/umlentityattributedialog.cpp @@ -186,7 +186,7 @@ bool UMLEntityAttributeDialog::apply() { m_pNameLE->setText( m_pEntityAttribute->getName() ); return false; } - UMLClassifier * pConcept = dynamic_cast<UMLClassifier *>( m_pEntityAttribute->tqparent() ); + UMLClassifier * pConcept = dynamic_cast<UMLClassifier *>( m_pEntityAttribute->parent() ); UMLObject *o = pConcept->findChildObject(name); if (o && o != m_pEntityAttribute) { KMessageBox::error(this, i18n("The entity attribute name you have chosen is already being used in this operation."), |