forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include "projecttree.h"
|
||||
|
||||
#include <coreplugin/actionmanager/command.h>
|
||||
#include <coreplugin/coreicons.h>
|
||||
#include <coreplugin/documentmanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
@@ -44,6 +43,7 @@
|
||||
#include <utils/navigationtreeview.h>
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/tooltip/tooltip.h>
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QSettings>
|
||||
@@ -223,7 +223,7 @@ ProjectTreeWidget::ProjectTreeWidget(QWidget *parent) : QWidget(parent)
|
||||
this, &ProjectTreeWidget::saveExpandData);
|
||||
|
||||
m_toggleSync = new QToolButton;
|
||||
m_toggleSync->setIcon(Core::Icons::LINK.icon());
|
||||
m_toggleSync->setIcon(Utils::Icons::LINK.icon());
|
||||
m_toggleSync->setCheckable(true);
|
||||
m_toggleSync->setChecked(autoSynchronization());
|
||||
m_toggleSync->setToolTip(tr("Synchronize with Editor"));
|
||||
@@ -578,7 +578,7 @@ NavigationView ProjectTreeWidgetFactory::createWidget()
|
||||
n.widget = ptw;
|
||||
|
||||
auto filter = new QToolButton;
|
||||
filter->setIcon(Core::Icons::FILTER.icon());
|
||||
filter->setIcon(Utils::Icons::FILTER.icon());
|
||||
filter->setToolTip(tr("Filter Tree"));
|
||||
filter->setPopupMode(QToolButton::InstantPopup);
|
||||
filter->setProperty("noArrow", true);
|
||||
|
||||
Reference in New Issue
Block a user