From b4a17a03c0d397d77131f266270c8d082ec35071 Mon Sep 17 00:00:00 2001
From: con <qtc-committer@nokia.com>
Date: Thu, 8 Oct 2009 15:50:45 +0200
Subject: [PATCH] Naming of run configurations.

---
 .../qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp    | 4 ++--
 .../qt4projectmanager/qt-s60/s60emulatorrunconfiguration.cpp  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp b/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
index 0ea191434fe..3ac0d4b39cf 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
@@ -74,7 +74,7 @@ S60DeviceRunConfiguration::S60DeviceRunConfiguration(Project *project, const QSt
     m_signingMode(SignSelf)
 {
     if (!m_proFilePath.isEmpty())
-        setName(tr("%1 on Device").arg(QFileInfo(m_proFilePath).completeBaseName()));
+        setName(tr("%1 on S60 Device").arg(QFileInfo(m_proFilePath).completeBaseName()));
     else
         setName(tr("QtS60DeviceRunConfiguration"));
 
@@ -481,7 +481,7 @@ QStringList S60DeviceRunConfigurationFactory::availableCreationTypes(Project *pr
 QString S60DeviceRunConfigurationFactory::displayNameForType(const QString &type) const
 {
     QString fileName = type.mid(QString("QtS60DeviceRunConfiguration.").size());
-    return tr("%1 on Device").arg(QFileInfo(fileName).completeBaseName());
+    return tr("%1 on S60 Device").arg(QFileInfo(fileName).completeBaseName());
 }
 
 QSharedPointer<RunConfiguration> S60DeviceRunConfigurationFactory::create(Project *project, const QString &type)
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60emulatorrunconfiguration.cpp b/src/plugins/qt4projectmanager/qt-s60/s60emulatorrunconfiguration.cpp
index 0452246638f..e44851bb922 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60emulatorrunconfiguration.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/s60emulatorrunconfiguration.cpp
@@ -52,7 +52,7 @@ S60EmulatorRunConfiguration::S60EmulatorRunConfiguration(Project *project, const
     m_cachedTargetInformationValid(false)
 {
     if (!m_proFilePath.isEmpty())
-        setName(tr("%1 in Emulator").arg(QFileInfo(m_proFilePath).completeBaseName()));
+        setName(tr("%1 in S60 Emulator").arg(QFileInfo(m_proFilePath).completeBaseName()));
     else
         setName(tr("QtS60EmulatorRunConfiguration"));
 
@@ -239,7 +239,7 @@ QStringList S60EmulatorRunConfigurationFactory::availableCreationTypes(Project *
 QString S60EmulatorRunConfigurationFactory::displayNameForType(const QString &type) const
 {
     QString fileName = type.mid(QString("QtS60EmulatorRunConfiguration.").size());
-    return tr("%1 in Emulator").arg(QFileInfo(fileName).completeBaseName());
+    return tr("%1 in S60 Emulator").arg(QFileInfo(fileName).completeBaseName());
 }
 
 QSharedPointer<RunConfiguration> S60EmulatorRunConfigurationFactory::create(Project *project, const QString &type)
-- 
GitLab