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:
@@ -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"))
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user