ProjectExplorer: Themed pause button

Change-Id: I61a678ec3696a5d0a0555e342fb34604fc1a5cdd
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2015-11-30 17:13:32 +01:00
parent 2404064ea8
commit 4e54baa840
9 changed files with 72 additions and 40 deletions

View File

@@ -69,6 +69,7 @@
#include <utils/fancymainwindow.h>
#include <utils/styledbar.h>
#include <projectexplorer/projectexplorericons.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projecttree.h>
@@ -684,7 +685,7 @@ QWidget *CallgrindToolPrivate::createWidgets()
// pause action
action = new QAction(this);
action->setCheckable(true);
action->setIcon(Core::Icons::PAUSE.icon());
action->setIcon(ProjectExplorer::Icons::INTERRUPT_SMALL.icon());
//action->setText(tr("Ignore"));
action->setToolTip(tr("Pause event logging. No events are counted which will speed up program execution during profiling."));
connect(action, &QAction::toggled, this, &CallgrindToolPrivate::pauseToggled);