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:
@@ -47,6 +47,7 @@
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
|
||||
#include <symbianutils/symbiandevicemanager.h>
|
||||
|
||||
@@ -110,6 +111,11 @@ bool CodaRunControl::isRunning() const
|
||||
return m_state >= StateConnecting;
|
||||
}
|
||||
|
||||
QIcon CodaRunControl::icon() const
|
||||
{
|
||||
return QIcon(ProjectExplorer::Constants::ICON_DEBUG_SMALL);
|
||||
}
|
||||
|
||||
bool CodaRunControl::setupLauncher()
|
||||
{
|
||||
QTC_ASSERT(!m_codaDevice, return false);
|
||||
|
||||
Reference in New Issue
Block a user