From 5e32183c9b5da75118435bc67addbd03888fab8a Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Wed, 20 Apr 2016 16:12:42 +0200 Subject: Theme: Separate run/stop/interrupt icons in menus And for that, we also need separate theme color roles. Change-Id: I27bf4499acb516f7f824f5e57632797653b150ec Reviewed-by: hjk --- src/plugins/valgrind/callgrindtool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/valgrind/callgrindtool.cpp') 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); -- cgit v1.2.1