Commit b4a17a03 authored by con's avatar con
Browse files

Naming of run configurations.

parent 7105b773
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment