forked from qt-creator/qt-creator
Symbian is the term. Also unconditionally reset target names.
Since the target names are translated, we cannot use the saved display name from the user file. Reviewed-by: Tobias Hunger
This commit is contained in:
@@ -86,11 +86,7 @@ bool CMakeTarget::fromMap(const QVariantMap &map)
|
||||
if (!Target::fromMap(map))
|
||||
return false;
|
||||
|
||||
if (displayName().isEmpty())
|
||||
setDisplayName(displayNameForId(id()));
|
||||
if (icon().isNull())
|
||||
setIcon(qApp->style()->standardIcon(QStyle::SP_ComputerIcon));
|
||||
|
||||
setDisplayName(displayNameForId(id()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user