forked from qt-creator/qt-creator
AutoTest: Fix warning about type mismatch
Change-Id: If4b0f2171eafc81330acb8a544201f0d05a9f6ae Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -456,7 +456,7 @@ TestTreeItem *QuickTestTreeItem::findChildByFileNameAndType(const QString &fileP
|
|||||||
}
|
}
|
||||||
|
|
||||||
TestTreeItem *QuickTestTreeItem::findChildByNameFileAndLine(const QString &name,
|
TestTreeItem *QuickTestTreeItem::findChildByNameFileAndLine(const QString &name,
|
||||||
const QString &filePath, unsigned line)
|
const QString &filePath, int line)
|
||||||
{
|
{
|
||||||
return findFirstLevelChild([name, filePath, line](const TestTreeItem *other) {
|
return findFirstLevelChild([name, filePath, line](const TestTreeItem *other) {
|
||||||
return other->filePath() == filePath && other->line() == line && other->name() == name;
|
return other->filePath() == filePath && other->line() == line && other->name() == name;
|
||||||
|
@@ -60,7 +60,7 @@ private:
|
|||||||
TestTreeItem *findChildByFileNameAndType(const QString &filePath, const QString &name,
|
TestTreeItem *findChildByFileNameAndType(const QString &filePath, const QString &name,
|
||||||
Type tType);
|
Type tType);
|
||||||
TestTreeItem *findChildByNameFileAndLine(const QString &name, const QString &filePath,
|
TestTreeItem *findChildByNameFileAndLine(const QString &name, const QString &filePath,
|
||||||
unsigned line);
|
int line);
|
||||||
TestTreeItem *unnamedQuickTests() const;
|
TestTreeItem *unnamedQuickTests() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user