diff options
author | hjk <hjk121@nokiamail.com> | 2014-05-27 18:50:55 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-05-30 13:07:54 +0200 |
commit | 26b54747e2e8c876d2aaa32103f7907aab9fd8e1 (patch) | |
tree | c1d8ddeb1df99d489ecf8e77cea13712703edb76 /src/plugins/qnx/blackberryruncontrol.cpp | |
parent | fb494b735564c9099e2555f1b4b94b6770defaa9 (diff) | |
download | qt-creator-26b54747e2e8c876d2aaa32103f7907aab9fd8e1.tar.gz |
RunControl: Make icon(path) a value member
Change-Id: I7f7099d03a25a14d8df02273cca928e9f1fbfe1d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
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); |