Commit 574ab3c0 authored by Alessandro Portale's avatar Alessandro Portale

AutoTest: Remove duplicated icons

This change makes AutoTest reuse the equivalent icons from CPlusPlus.

Change-Id: I01f8c30798c7f1b622469ae1f25418e9d1bd8a93
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 342e87ed
<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>
......
......@@ -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"))
};
......
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