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