Commit 4d026f9b authored by El Mehdi Fekari's avatar El Mehdi Fekari Committed by Mehdi Fekari

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's avatarNicolas Arnaud-Cormos <>
parent ee77d21b
...@@ -70,7 +70,7 @@ void BlackBerryRunConfiguration::init() ...@@ -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"));
} }
...@@ -75,7 +75,7 @@ QString BlackBerryRunConfigurationFactory::displayNameForId(const Core::Id id) c ...@@ -75,7 +75,7 @@ QString BlackBerryRunConfigurationFactory::displayNameForId(const Core::Id id) c
return QString(); return QString();
if ( if (
return tr("%1 on BlackBerry Device").arg(QFileInfo(path).completeBaseName()); return QFileInfo(path).completeBaseName();
return QString(); return QString();
} }
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