diff options
author | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2016-04-20 16:12:42 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2016-04-21 15:57:56 +0000 |
commit | 5e32183c9b5da75118435bc67addbd03888fab8a (patch) | |
tree | c3b6a15e044b2d762d8063f23692295bb0c1d000 /src/plugins/valgrind/callgrindtool.cpp | |
parent | 250c77a9a30d057dede119dafdfd06260443a43f (diff) | |
download | qt-creator-5e32183c9b5da75118435bc67addbd03888fab8a.tar.gz |
Theme: Separate run/stop/interrupt icons in menus
And for that, we also need separate theme color roles.
Change-Id: I27bf4499acb516f7f824f5e57632797653b150ec
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/callgrindtool.cpp')
-rw-r--r-- | src/plugins/valgrind/callgrindtool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp index 94351cb853..52aecc64d6 100644 --- a/src/plugins/valgrind/callgrindtool.cpp +++ b/src/plugins/valgrind/callgrindtool.cpp @@ -370,7 +370,7 @@ CallgrindTool::CallgrindTool(QObject *parent) // pause action m_pauseAction = action = new QAction(this); action->setCheckable(true); - action->setIcon(Core::Icons::INTERRUPT_SMALL.icon()); + action->setIcon(Core::Icons::INTERRUPT_SMALL_TOOLBAR.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, &CallgrindTool::pauseToggled); @@ -379,14 +379,14 @@ CallgrindTool::CallgrindTool(QObject *parent) // go back m_goBack = action = new QAction(this); action->setDisabled(true); - action->setIcon(Core::Icons::PREV.icon()); + action->setIcon(Core::Icons::PREV_TOOLBAR.icon()); action->setToolTip(tr("Go back one step in history. This will select the previously selected item.")); connect(action, &QAction::triggered, &m_stackBrowser, &StackBrowser::goBack); // go forward m_goNext = action = new QAction(this); action->setDisabled(true); - action->setIcon(Core::Icons::NEXT.icon()); + action->setIcon(Core::Icons::NEXT_TOOLBAR.icon()); action->setToolTip(tr("Go forward one step in history.")); connect(action, &QAction::triggered, &m_stackBrowser, &StackBrowser::goNext); |