diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index 61b500b03aa..99b62823584 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -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); diff --git a/src/plugins/projectexplorer/images/stop_small.png b/src/plugins/projectexplorer/images/stop_small.png new file mode 100644 index 00000000000..1063d089985 Binary files /dev/null and b/src/plugins/projectexplorer/images/stop_small.png differ diff --git a/src/plugins/projectexplorer/projectexplorer.qrc b/src/plugins/projectexplorer/projectexplorer.qrc index b4be8745b90..dd78296d351 100644 --- a/src/plugins/projectexplorer/projectexplorer.qrc +++ b/src/plugins/projectexplorer/projectexplorer.qrc @@ -39,5 +39,6 @@ images/targetaddbutton_disabled.png images/targetremovebutton_disabled.png images/window.png + images/stop_small.png diff --git a/src/plugins/projectexplorer/projectexplorerconstants.h b/src/plugins/projectexplorer/projectexplorerconstants.h index f28bf1c2267..44afd1ec1b4 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.h +++ b/src/plugins/projectexplorer/projectexplorerconstants.h @@ -164,6 +164,7 @@ const char * const ICON_RUN = ":/projectexplorer/images/run.png"; const char * const ICON_RUN_SMALL = ":/projectexplorer/images/run_small.png"; const char * const ICON_DEBUG_SMALL = ":/projectexplorer/images/debugger_start_small.png"; const char * const ICON_STOP = ":/projectexplorer/images/stop.png"; +const char * const ICON_STOP_SMALL = ":/projectexplorer/images/stop_small.png"; const char * const ICON_TOOLCHAIN_SETTINGS_CATEGORY = ":projectexplorer/images/build.png"; // FIXME: Need an icon! const char * const ICON_WINDOW = ":/projectexplorer/images/window.png";