diff options
author | dt <qtc-committer@nokia.com> | 2011-03-28 19:58:13 +0200 |
---|---|---|
committer | dt <qtc-committer@nokia.com> | 2011-03-28 19:58:26 +0200 |
commit | 28cf277cc178a89c19dd9b2d15cbeb6a826b6171 (patch) | |
tree | 7550f3a966db912c1d9c2f9316840e1b5b2f4172 /src/plugins/projectexplorer/localapplicationruncontrol.cpp | |
parent | e945acef450c4fbf9b417a485b50a50a9c05c58b (diff) | |
download | qt-creator-28cf277cc178a89c19dd9b2d15cbeb6a826b6171.tar.gz |
RunControl: Show correct icon in application output
Add a virtual icon() method to runcontrol.
Actually currently the icon only varies between modes of running.
Task-Nr: QTCREATORBUG-1232
Diffstat (limited to 'src/plugins/projectexplorer/localapplicationruncontrol.cpp')
-rw-r--r-- | src/plugins/projectexplorer/localapplicationruncontrol.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/localapplicationruncontrol.cpp b/src/plugins/projectexplorer/localapplicationruncontrol.cpp index d932a19f7d..e778e38319 100644 --- a/src/plugins/projectexplorer/localapplicationruncontrol.cpp +++ b/src/plugins/projectexplorer/localapplicationruncontrol.cpp @@ -122,6 +122,11 @@ bool LocalApplicationRunControl::isRunning() const return m_applicationLauncher.isRunning(); } +QIcon LocalApplicationRunControl::icon() const +{ + return QIcon(ProjectExplorer::Constants::ICON_RUN_SMALL); +} + void LocalApplicationRunControl::slotAppendMessage(const QString &err, OutputFormat format) { |