diff options
Diffstat (limited to 'src/plugins/qnx/blackberryruncontrol.cpp')
-rw-r--r-- | src/plugins/qnx/blackberryruncontrol.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/qnx/blackberryruncontrol.cpp b/src/plugins/qnx/blackberryruncontrol.cpp index 660ca53f59..9be6fc81c3 100644 --- a/src/plugins/qnx/blackberryruncontrol.cpp +++ b/src/plugins/qnx/blackberryruncontrol.cpp @@ -43,6 +43,8 @@ using namespace Qnx::Internal; BlackBerryRunControl::BlackBerryRunControl(BlackBerryRunConfiguration *runConfiguration) : ProjectExplorer::RunControl(runConfiguration, ProjectExplorer::NormalRunMode) { + setIcon(QLatin1String(ProjectExplorer::Constants::ICON_RUN_SMALL)); + m_runner = new BlackBerryApplicationRunner(BlackBerryApplicationRunner::LaunchFlags(), runConfiguration, this); connect(m_runner, SIGNAL(started()), this, SIGNAL(started())); @@ -67,11 +69,6 @@ bool BlackBerryRunControl::isRunning() const return m_runner->isRunning(); } -QIcon BlackBerryRunControl::icon() const -{ - return QIcon(QLatin1String(ProjectExplorer::Constants::ICON_RUN_SMALL)); -} - void BlackBerryRunControl::handleStartFailed(const QString &message) { appendMessage(message, Utils::StdErrFormat); |