Commit 57f31cb8 authored by Alessandro Portale's avatar Alessandro Portale

ClassView: Remove duplicated icon

This change makes ClassView reuse the equivalent icon from CPlusPlus.

Change-Id: I2c83d8869dfdb3d8e8f229fc7cf768dee15442ca
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent 1b921e95
......@@ -24,6 +24,3 @@ SOURCES += \
classviewsymbollocation.cpp \
classviewtreeitemmodel.cpp \
classviewutils.cpp
RESOURCES += \
classview.qrc
......@@ -13,7 +13,6 @@ QtcPlugin {
Depends { name: "TextEditor" }
files: [
"classview.qrc",
"classviewconstants.h",
"classviewmanager.cpp", "classviewmanager.h",
"classviewnavigationwidget.cpp", "classviewnavigationwidget.h",
......
<RCC>
<qresource prefix="/classview">
<file>images/hierarchicalmode.png</file>
</qresource>
</RCC>
......@@ -31,6 +31,9 @@
#include "classviewconstants.h"
#include <coreplugin/find/itemviewfind.h>
#include <cplusplus/Icons.h>
#include <utils/navigationtreeview.h>
#include <utils/qtcassert.h>
......@@ -170,7 +173,7 @@ QList<QToolButton *> NavigationWidget::createToolButtons()
// create a button
fullProjectsModeButton = new QToolButton();
fullProjectsModeButton->setIcon(
QIcon(QLatin1String(":/classview/images/hierarchicalmode.png")));
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::ClassIconType));
fullProjectsModeButton->setCheckable(true);
fullProjectsModeButton->setToolTip(tr("Show Subprojects"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment