summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/dialogs/umlentityattributedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/dialogs/umlentityattributedialog.cpp')
-rw-r--r--umbrello/umbrello/dialogs/umlentityattributedialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/dialogs/umlentityattributedialog.cpp b/umbrello/umbrello/dialogs/umlentityattributedialog.cpp
index a84d302b..ba111405 100644
--- a/umbrello/umbrello/dialogs/umlentityattributedialog.cpp
+++ b/umbrello/umbrello/dialogs/umlentityattributedialog.cpp
@@ -227,7 +227,7 @@ bool UMLEntityAttributeDialog::apply() {
if (classifier == NULL) {
// If it's obviously a pointer type (C++) then create a datatype.
// Else we don't know what it is so as a compromise create a class.
- Uml::Object_Type ot = (typeName.tqcontains('*') ? Uml::ot_Datatype
+ Uml::Object_Type ot = (typeName.contains('*') ? Uml::ot_Datatype
: Uml::ot_Class);
obj = Object_Factory::createUMLObject(ot, typeName);
if (obj == NULL)