forked from qt-creator/qt-creator
ClassView: Remove duplicated icon
This change makes ClassView reuse the equivalent icon from CPlusPlus. Change-Id: I2c83d8869dfdb3d8e8f229fc7cf768dee15442ca Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -24,6 +24,3 @@ SOURCES += \
|
|||||||
classviewsymbollocation.cpp \
|
classviewsymbollocation.cpp \
|
||||||
classviewtreeitemmodel.cpp \
|
classviewtreeitemmodel.cpp \
|
||||||
classviewutils.cpp
|
classviewutils.cpp
|
||||||
|
|
||||||
RESOURCES += \
|
|
||||||
classview.qrc
|
|
||||||
|
@@ -13,7 +13,6 @@ QtcPlugin {
|
|||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"classview.qrc",
|
|
||||||
"classviewconstants.h",
|
"classviewconstants.h",
|
||||||
"classviewmanager.cpp", "classviewmanager.h",
|
"classviewmanager.cpp", "classviewmanager.h",
|
||||||
"classviewnavigationwidget.cpp", "classviewnavigationwidget.h",
|
"classviewnavigationwidget.cpp", "classviewnavigationwidget.h",
|
||||||
|
@@ -1,5 +0,0 @@
|
|||||||
<RCC>
|
|
||||||
<qresource prefix="/classview">
|
|
||||||
<file>images/hierarchicalmode.png</file>
|
|
||||||
</qresource>
|
|
||||||
</RCC>
|
|
@@ -31,6 +31,9 @@
|
|||||||
#include "classviewconstants.h"
|
#include "classviewconstants.h"
|
||||||
|
|
||||||
#include <coreplugin/find/itemviewfind.h>
|
#include <coreplugin/find/itemviewfind.h>
|
||||||
|
|
||||||
|
#include <cplusplus/Icons.h>
|
||||||
|
|
||||||
#include <utils/navigationtreeview.h>
|
#include <utils/navigationtreeview.h>
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
@@ -170,7 +173,7 @@ QList<QToolButton *> NavigationWidget::createToolButtons()
|
|||||||
// create a button
|
// create a button
|
||||||
fullProjectsModeButton = new QToolButton();
|
fullProjectsModeButton = new QToolButton();
|
||||||
fullProjectsModeButton->setIcon(
|
fullProjectsModeButton->setIcon(
|
||||||
QIcon(QLatin1String(":/classview/images/hierarchicalmode.png")));
|
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::ClassIconType));
|
||||||
fullProjectsModeButton->setCheckable(true);
|
fullProjectsModeButton->setCheckable(true);
|
||||||
fullProjectsModeButton->setToolTip(tr("Show Subprojects"));
|
fullProjectsModeButton->setToolTip(tr("Show Subprojects"));
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 573 B |
Reference in New Issue
Block a user