Qnx: update the runconfiguration display name

The "on BlackBerry Device" sequence makes little sense
and could be removed to be more consistent with the rest of
QTC run config widgets.

Task-number: QTCREATORBUG-9550

Change-Id: I024929a13352040f032cd51382ff57bb9bed59ff
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
El Mehdi Fekari
2013-06-24 13:05:33 +02:00
committed by Mehdi Fekari
parent ee77d21b00
commit 4d026f9b53
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ void BlackBerryRunConfiguration::init()
void BlackBerryRunConfiguration::updateDisplayName() void BlackBerryRunConfiguration::updateDisplayName()
{ {
if (!m_proFilePath.isEmpty()) if (!m_proFilePath.isEmpty())
setDefaultDisplayName(tr("%1 on BlackBerry device").arg(QFileInfo(m_proFilePath).completeBaseName())); setDefaultDisplayName(QFileInfo(m_proFilePath).completeBaseName());
else else
setDefaultDisplayName(tr("Run on BlackBerry device")); setDefaultDisplayName(tr("Run on BlackBerry device"));
} }

View File

@@ -75,7 +75,7 @@ QString BlackBerryRunConfigurationFactory::displayNameForId(const Core::Id id) c
return QString(); return QString();
if (id.name().startsWith(Constants::QNX_BB_RUNCONFIGURATION_PREFIX)) if (id.name().startsWith(Constants::QNX_BB_RUNCONFIGURATION_PREFIX))
return tr("%1 on BlackBerry Device").arg(QFileInfo(path).completeBaseName()); return QFileInfo(path).completeBaseName();
return QString(); return QString();
} }