forked from qt-creator/qt-creator
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:
@@ -406,6 +406,7 @@ bool Qt4Target::fromMap(const QVariantMap &map)
|
|||||||
{
|
{
|
||||||
bool success = Target::fromMap(map);
|
bool success = Target::fromMap(map);
|
||||||
setIcon(iconForId(id()));
|
setIcon(iconForId(id()));
|
||||||
|
setDefaultDisplayName(displayNameForId(id()));
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user