Commit 4ca6422b authored by kh1's avatar kh1
Browse files

Do not add "on Maemo device" anymore, since we now have the targets.

Task-number: QTCREATOR-207
Reviewed-by: ck
parent 95e8be51
......@@ -89,12 +89,7 @@ MaemoRunConfiguration::MaemoRunConfiguration(Qt4Target *parent,
void MaemoRunConfiguration::init()
{
if (!m_proFilePath.isEmpty()) {
setDisplayName(tr("%1 on Maemo device").arg(QFileInfo(m_proFilePath)
.completeBaseName()));
} else {
setDisplayName(tr("MaemoRunConfiguration"));
}
setDisplayName(tr("New Maemo Run Configuration"));
updateDeviceConfigurations();
connect(&MaemoDeviceConfigurations::instance(), SIGNAL(updated()), this,
......
......@@ -113,10 +113,7 @@ QStringList MaemoRunConfigurationFactory::availableCreationIds(Target *parent) c
QString MaemoRunConfigurationFactory::displayNameForId(const QString &id) const
{
const QString &target = targetFromId(id);
if (target.isEmpty())
return QString();
return tr("%1 on Maemo Device").arg(QFileInfo(target).completeBaseName());
return tr("New Maemo Run Configuration");
}
RunConfiguration *MaemoRunConfigurationFactory::create(Target *parent,
......
Supports Markdown
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