summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmaketarget.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-02-10 12:16:01 +0100
committercon <qtc-committer@nokia.com>2010-02-10 12:41:07 +0100
commit686b21195d3e75511ef4be93fcfe59b5053d6ad9 (patch)
tree33661a648feab195ba914405c47ff857cf92dc1e /src/plugins/cmakeprojectmanager/cmaketarget.cpp
parent8548da1c304ee3372b9dbf300b6d4a9a1eb13bb3 (diff)
downloadqt-creator-686b21195d3e75511ef4be93fcfe59b5053d6ad9.tar.gz
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
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmaketarget.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmaketarget.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmaketarget.cpp b/src/plugins/cmakeprojectmanager/cmaketarget.cpp
index 955b152cd3..c38ccd15d4 100644
--- a/src/plugins/cmakeprojectmanager/cmaketarget.cpp
+++ b/src/plugins/cmakeprojectmanager/cmaketarget.cpp
@@ -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;
}