forked from qt-creator/qt-creator
RunControl: Make icon(path) a value member
Change-Id: I7f7099d03a25a14d8df02273cca928e9f1fbfe1d Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -509,7 +509,7 @@ void AppOutputPane::enableButtons(const RunControl *rc /* = 0 */, bool isRunning
|
||||
{
|
||||
if (rc) {
|
||||
m_reRunButton->setEnabled(!isRunning);
|
||||
m_reRunButton->setIcon(rc->icon());
|
||||
m_reRunButton->setIcon(QIcon(rc->icon()));
|
||||
m_stopAction->setEnabled(isRunning);
|
||||
if (isRunning && debuggerCore() && rc->applicationProcessHandle().isValid()) {
|
||||
m_attachButton->setEnabled(true);
|
||||
|
||||
Reference in New Issue
Block a user