diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-08-03 17:55:54 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-08-05 10:52:53 +0000 |
commit | 15fbfaf2e94b72cfd54bb0bd6f2b9ab87b870795 (patch) | |
tree | e0ec09f6b6b97f0a9b61fd3b27c379cc84d1f3ce /src/plugins/valgrind/memchecktool.cpp | |
parent | 5d6f5ff2c969046cd19c13a5b7bb0775c9925ea3 (diff) |
Move icons to Utils
This way we can use them from libraries, not only from plugins.
Change-Id: Ic35cfd5f04d638d87606bf272b2c00ded1267c1b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/valgrind/memchecktool.cpp')
-rw-r--r-- | src/plugins/valgrind/memchecktool.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/valgrind/memchecktool.cpp b/src/plugins/valgrind/memchecktool.cpp index 8e4ea36878..89e7c40f6a 100644 --- a/src/plugins/valgrind/memchecktool.cpp +++ b/src/plugins/valgrind/memchecktool.cpp @@ -60,7 +60,6 @@ #include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/command.h> -#include <coreplugin/coreicons.h> #include <coreplugin/editormanager/editormanager.h> #include <coreplugin/icore.h> #include <coreplugin/id.h> @@ -355,7 +354,7 @@ MemcheckTool::MemcheckTool(QObject *parent) // Load external XML log file auto action = new QAction(this); - action->setIcon(Core::Icons::OPENFILE.icon()); + action->setIcon(Utils::Icons::OPENFILE.icon()); action->setToolTip(tr("Load External XML Log File")); connect(action, &QAction::triggered, this, &MemcheckTool::loadExternalXmlLogFile); m_loadExternalLogFile = action; @@ -377,7 +376,7 @@ MemcheckTool::MemcheckTool(QObject *parent) m_goNext = action; auto filterButton = new QToolButton; - filterButton->setIcon(Core::Icons::FILTER.icon()); + filterButton->setIcon(Utils::Icons::FILTER.icon()); filterButton->setText(tr("Error Filter")); filterButton->setPopupMode(QToolButton::InstantPopup); filterButton->setProperty("noArrow", true); |