forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
#include "qt4projectmanagerconstants.h"
|
||||
#include "qtoutputformatter.h"
|
||||
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/detailswidget.h>
|
||||
|
||||
@@ -369,6 +371,11 @@ bool S60EmulatorRunControl::isRunning() const
|
||||
return m_applicationLauncher.isRunning();
|
||||
}
|
||||
|
||||
QIcon S60EmulatorRunControl::icon() const
|
||||
{
|
||||
return QIcon(ProjectExplorer::Constants::ICON_RUN_SMALL);
|
||||
}
|
||||
|
||||
void S60EmulatorRunControl::slotError(const QString & err)
|
||||
{
|
||||
appendMessage(err, ErrorMessageFormat);
|
||||
|
||||
Reference in New Issue
Block a user