diff options
author | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2016-05-23 14:15:06 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2016-05-31 08:51:12 +0000 |
commit | a6683575c4a0bbf30d74778b554cb144b4b816b2 (patch) | |
tree | 37feae65098c1ac4cb3f31068dbadd7e58730892 /src/plugins/valgrind/memchecktool.cpp | |
parent | bb0a96a1bad1053a5b69eb6728213b055016b697 (diff) |
Icons: Move "next/prev", "[un]locked" and "zoom" from Core to Utils
They are needed in the timeline view.
The change in qtcreator-project.qdocconf makes sure
that qdoc still finds the referenced icons.
Change-Id: I812fba8e57d06d93efc00c295467c83c08cd1784
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/memchecktool.cpp')
-rw-r--r-- | src/plugins/valgrind/memchecktool.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/valgrind/memchecktool.cpp b/src/plugins/valgrind/memchecktool.cpp index 9a69bf1cb6..ded4867fce 100644 --- a/src/plugins/valgrind/memchecktool.cpp +++ b/src/plugins/valgrind/memchecktool.cpp @@ -68,6 +68,7 @@ #include <utils/qtcassert.h> #include <utils/styledbar.h> #include <utils/stylehelper.h> +#include <utils/utilsicons.h> #include <QAction> #include <QCheckBox> @@ -361,7 +362,7 @@ MemcheckTool::MemcheckTool(QObject *parent) // Go to previous leak. action = new QAction(this); action->setDisabled(true); - action->setIcon(Core::Icons::PREV_TOOLBAR.icon()); + action->setIcon(Utils::Icons::PREV_TOOLBAR.icon()); action->setToolTip(tr("Go to previous leak.")); connect(action, &QAction::triggered, m_errorView, &MemcheckErrorView::goBack); m_goBack = action; @@ -369,7 +370,7 @@ MemcheckTool::MemcheckTool(QObject *parent) // Go to next leak. action = new QAction(this); action->setDisabled(true); - action->setIcon(Core::Icons::NEXT_TOOLBAR.icon()); + action->setIcon(Utils::Icons::NEXT_TOOLBAR.icon()); action->setToolTip(tr("Go to next leak.")); connect(action, &QAction::triggered, m_errorView, &MemcheckErrorView::goNext); m_goNext = action; |