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/texteditor/circularclipboardassist.cpp | |
parent | 5d6f5ff2c969046cd19c13a5b7bb0775c9925ea3 (diff) | |
download | qt-creator-15fbfaf2e94b72cfd54bb0bd6f2b9ab87b870795.tar.gz |
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/texteditor/circularclipboardassist.cpp')
-rw-r--r-- | src/plugins/texteditor/circularclipboardassist.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/texteditor/circularclipboardassist.cpp b/src/plugins/texteditor/circularclipboardassist.cpp index 16ace24386..6f3e4e4349 100644 --- a/src/plugins/texteditor/circularclipboardassist.cpp +++ b/src/plugins/texteditor/circularclipboardassist.cpp @@ -34,7 +34,8 @@ #include "circularclipboard.h" #include <coreplugin/coreconstants.h> -#include <coreplugin/coreicons.h> + +#include <utils/utilsicons.h> #include <QApplication> #include <QClipboard> @@ -90,7 +91,7 @@ public: return 0; const QScopedPointer<const AssistInterface> AssistInterface(interface); - QIcon icon = QIcon::fromTheme(QLatin1String("edit-paste"), Core::Icons::PASTE.icon()).pixmap(16); + QIcon icon = QIcon::fromTheme(QLatin1String("edit-paste"), Utils::Icons::PASTE.icon()).pixmap(16); CircularClipboard * clipboard = CircularClipboard::instance(); QList<AssistProposalItemInterface *> items; for (int i = 0; i < clipboard->size(); ++i) { |