AutoTest: Remove duplicated icons

This change makes AutoTest reuse the equivalent icons from CPlusPlus.

Change-Id: I01f8c30798c7f1b622469ae1f25418e9d1bd8a93
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-04-06 23:18:59 +02:00
parent 342e87edb8
commit 574ab3c07b
4 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
<RCC>
<qresource prefix="/">
<file>images/autotest.png</file>
<file>images/class.png</file>
<file>images/func.png</file>
<file>images/expand.png</file>
<file>images/expand@2x.png</file>
<file>images/collapse.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

View File

@@ -33,6 +33,8 @@
#include <texteditor/texteditor.h>
#include <cplusplus/Icons.h>
namespace Autotest {
namespace Internal {
@@ -51,8 +53,8 @@ static QIcon testTreeIcon(TestTreeItem::Type type)
{
static QIcon icons[] = {
QIcon(),
QIcon(QLatin1String(":/images/class.png")),
QIcon(QLatin1String(":/images/func.png")),
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::ClassIconType),
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::SlotPrivateIconType),
QIcon(QLatin1String(":/images/data.png"))
};