Merge remote-tracking branch 'origin/3.6'

Change-Id: Ic1d854234d047fc5cf0100b821d33ebd1fcd2921
This commit is contained in:
Eike Ziller
2015-10-26 10:53:55 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ static QIcon testTreeIcon(TestTreeItem::Type type)
QIcon(QLatin1String(":/images/func.png")),
QIcon(QLatin1String(":/images/data.png"))
};
if (type >= sizeof(icons))
if (static_cast<unsigned long>(type) >= sizeof(icons))
return icons[2];
return icons[type];
}

View File

@@ -23,6 +23,7 @@
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <QDebug>
#include <QRegExp>
#include <QProcess>
#include <QFileInfo>