summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildsteplist.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-07-25 17:30:39 +0200
committerhjk <hjk@qt.io>2019-07-26 10:36:22 +0000
commit9b5ac303f34c97a7a2cd5979b73fb60e4cfe870a (patch)
tree4e2899387af0fe914d8dc11b94839589b547b132 /src/plugins/projectexplorer/buildsteplist.h
parentdb6cd708db9345a0948dfe7c51f6640896a48ef7 (diff)
downloadqt-creator-9b5ac303f34c97a7a2cd5979b73fb60e4cfe870a.tar.gz
ProjectExplorer: Remove unused function BuildStepList::allOfType
Change-Id: Ic06040ff874c308db561897bd1722081242e63fd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/buildsteplist.h')
-rw-r--r--src/plugins/projectexplorer/buildsteplist.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/projectexplorer/buildsteplist.h b/src/plugins/projectexplorer/buildsteplist.h
index b9fce034da..59be5a1730 100644
--- a/src/plugins/projectexplorer/buildsteplist.h
+++ b/src/plugins/projectexplorer/buildsteplist.h
@@ -57,16 +57,6 @@ public:
}
return nullptr;
}
- template <class BS> QList<BS *>allOfType() {
- QList<BS *> result;
- BS *bs = nullptr;
- for (int i = 0; i < count(); ++i) {
- bs = qobject_cast<BS *>(at(i));
- if (bs)
- result.append(bs);
- }
- return result;
- }
int count() const;
bool isEmpty() const;