forked from qt-creator/qt-creator
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:
@@ -1,8 +1,6 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/">
|
<qresource prefix="/">
|
||||||
<file>images/autotest.png</file>
|
<file>images/autotest.png</file>
|
||||||
<file>images/class.png</file>
|
|
||||||
<file>images/func.png</file>
|
|
||||||
<file>images/expand.png</file>
|
<file>images/expand.png</file>
|
||||||
<file>images/expand@2x.png</file>
|
<file>images/expand@2x.png</file>
|
||||||
<file>images/collapse.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 |
@@ -33,6 +33,8 @@
|
|||||||
|
|
||||||
#include <texteditor/texteditor.h>
|
#include <texteditor/texteditor.h>
|
||||||
|
|
||||||
|
#include <cplusplus/Icons.h>
|
||||||
|
|
||||||
namespace Autotest {
|
namespace Autotest {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
@@ -51,8 +53,8 @@ static QIcon testTreeIcon(TestTreeItem::Type type)
|
|||||||
{
|
{
|
||||||
static QIcon icons[] = {
|
static QIcon icons[] = {
|
||||||
QIcon(),
|
QIcon(),
|
||||||
QIcon(QLatin1String(":/images/class.png")),
|
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::ClassIconType),
|
||||||
QIcon(QLatin1String(":/images/func.png")),
|
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::SlotPrivateIconType),
|
||||||
QIcon(QLatin1String(":/images/data.png"))
|
QIcon(QLatin1String(":/images/data.png"))
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user