diff options
author | con <qtc-committer@nokia.com> | 2010-02-10 12:16:01 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-02-10 12:41:07 +0100 |
commit | 686b21195d3e75511ef4be93fcfe59b5053d6ad9 (patch) | |
tree | 33661a648feab195ba914405c47ff857cf92dc1e /src/plugins/cmakeprojectmanager/cmaketarget.cpp | |
parent | 8548da1c304ee3372b9dbf300b6d4a9a1eb13bb3 (diff) | |
download | qt-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.cpp | 6 |
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; } |