Commit 8bd36e23 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/uml1model/umlobject.cpp

- In function toI18nString, toIcon warning message about
  "unknown object type" print function name.
  Reason: Without the function name it is ambiguous from where the
  warning originates.
parent a271bd45
......@@ -1188,7 +1188,7 @@ QString UMLObject::toI18nString(ObjectType t)
default:
name = QLatin1String("<unknown> &name:");
uWarning() << "unknown object type";
uWarning() << "UMLObject::toI18nString unknown object type " << toString(t);
break;
}
return name;
......@@ -1255,7 +1255,7 @@ Icon_Utils::IconType UMLObject::toIcon(ObjectType t)
default:
icon = Icon_Utils::it_Home;
uWarning() << "unknown object type";
uWarning() << "UMLObject::toIcon unknown object type " << toString(t);
break;
}
return icon;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment