Make sure a display name is set for targets

* Make sure we have a display name set for targets when restoring
   from Qt creator 1.3.1 .user files.
This commit is contained in:
Tobias Hunger
2010-09-02 10:41:08 +02:00
parent fd2daeab37
commit 3d5ec35704

View File

@@ -406,6 +406,7 @@ bool Qt4Target::fromMap(const QVariantMap &map)
{
bool success = Target::fromMap(map);
setIcon(iconForId(id()));
setDefaultDisplayName(displayNameForId(id()));
return success;
}