Add small stop icon.

Use the same as the small debug icon.
Task-Nr: QTCREATORBUG-5003

Change-Id: Iee32a7161869dc611d017cde53a4056b8be56315
Reviewed-on: http://codereview.qt.nokia.com/246
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
dt_
2011-05-30 17:02:03 +02:00
committed by Daniel Teske
parent f516fc55fe
commit 174ac64ef8
4 changed files with 6 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ AppOutputPane::RunControlTab::RunControlTab(RunControl *rc, Core::OutputWindow *
AppOutputPane::AppOutputPane() :
m_mainWidget(new QWidget),
m_tabWidget(new QTabWidget),
m_stopAction(new QAction(QIcon(QLatin1String(Constants::ICON_STOP)), tr("Stop"), this)),
m_stopAction(new QAction(tr("Stop"), this)),
m_reRunButton(new QToolButton),
m_stopButton(new QToolButton),
m_attachButton(new QToolButton)
@@ -94,6 +94,9 @@ AppOutputPane::AppOutputPane() :
Core::ActionManager *am = Core::ICore::instance()->actionManager();
Core::Context globalcontext(Core::Constants::C_GLOBAL);
QIcon stopIcon = QIcon(QLatin1String(Constants::ICON_STOP));
stopIcon.addFile(QLatin1String(Constants::ICON_STOP_SMALL));
m_stopAction->setIcon(stopIcon);
m_stopAction->setToolTip(tr("Stop"));
m_stopAction->setEnabled(false);