diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-08-23 09:54:38 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-08-23 09:19:02 +0000 |
commit | e7040f1abfe2b10dbbed4f6976f825cfa59f669b (patch) | |
tree | 3496fad6a921810cad8ad8eea5ec464aa72cc12c /src/plugins/autotest/quick | |
parent | 4d6e041b7359ed2b9853c69b523cef9a36ae4919 (diff) |
AutoTest: Fix warning about type mismatch
Change-Id: If4b0f2171eafc81330acb8a544201f0d05a9f6ae
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/autotest/quick')
-rw-r--r-- | src/plugins/autotest/quick/quicktesttreeitem.cpp | 2 | ||||
-rw-r--r-- | src/plugins/autotest/quick/quicktesttreeitem.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotest/quick/quicktesttreeitem.cpp b/src/plugins/autotest/quick/quicktesttreeitem.cpp index 85f459ea019..d896b56a3cc 100644 --- a/src/plugins/autotest/quick/quicktesttreeitem.cpp +++ b/src/plugins/autotest/quick/quicktesttreeitem.cpp @@ -456,7 +456,7 @@ TestTreeItem *QuickTestTreeItem::findChildByFileNameAndType(const QString &fileP } 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 other->filePath() == filePath && other->line() == line && other->name() == name; diff --git a/src/plugins/autotest/quick/quicktesttreeitem.h b/src/plugins/autotest/quick/quicktesttreeitem.h index 551d0865a21..f99db4ce544 100644 --- a/src/plugins/autotest/quick/quicktesttreeitem.h +++ b/src/plugins/autotest/quick/quicktesttreeitem.h @@ -60,7 +60,7 @@ private: TestTreeItem *findChildByFileNameAndType(const QString &filePath, const QString &name, Type tType); TestTreeItem *findChildByNameFileAndLine(const QString &name, const QString &filePath, - unsigned line); + int line); TestTreeItem *unnamedQuickTests() const; }; |