diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-08-23 09:49:27 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-08-23 07:52:47 +0000 |
commit | 33a4f8ab3c496b4cb356a7babd48b8018de391c8 (patch) | |
tree | d44fc052dc8bbc8ed0dfd4bbe69deea3e38e4de6 /src | |
parent | 501df95d57ff2dff8f72ec582282f785312b427b (diff) | |
download | qt-creator-33a4f8ab3c496b4cb356a7babd48b8018de391c8.tar.gz |
Revert "Autotest: Fix warning about type mismatch"
This reverts commit 501df95d57ff2dff8f72ec582282f785312b427b.
Accidently moved to the wrong branch.
Change-Id: I845103df2e6fb00a2bc27923caffde2622464eba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src')
-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 d896b56a3c..85f459ea01 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, 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; diff --git a/src/plugins/autotest/quick/quicktesttreeitem.h b/src/plugins/autotest/quick/quicktesttreeitem.h index f99db4ce54..551d0865a2 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, - int line); + unsigned line); TestTreeItem *unnamedQuickTests() const; }; |