forked from qt-creator/qt-creator
Revert "Autotest: Fix warning about type mismatch"
This reverts commit 501df95d57
.
Accidently moved to the wrong branch.
Change-Id: I845103df2e6fb00a2bc27923caffde2622464eba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
Christian Kandeler
parent
501df95d57
commit
33a4f8ab3c
@@ -456,7 +456,7 @@ TestTreeItem *QuickTestTreeItem::findChildByFileNameAndType(const QString &fileP
|
||||
}
|
||||
|
||||
TestTreeItem *QuickTestTreeItem::findChildByNameFileAndLine(const QString &name,
|
||||
const QString &filePath, int line)
|
||||
const QString &filePath, unsigned line)
|
||||
{
|
||||
return findFirstLevelChild([name, filePath, line](const TestTreeItem *other) {
|
||||
return other->filePath() == filePath && other->line() == line && other->name() == name;
|
||||
|
@@ -60,7 +60,7 @@ private:
|
||||
TestTreeItem *findChildByFileNameAndType(const QString &filePath, const QString &name,
|
||||
Type tType);
|
||||
TestTreeItem *findChildByNameFileAndLine(const QString &name, const QString &filePath,
|
||||
int line);
|
||||
unsigned line);
|
||||
TestTreeItem *unnamedQuickTests() const;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user