From 9b5ac303f34c97a7a2cd5979b73fb60e4cfe870a Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 25 Jul 2019 17:30:39 +0200 Subject: [PATCH] ProjectExplorer: Remove unused function BuildStepList::allOfType Change-Id: Ic06040ff874c308db561897bd1722081242e63fd Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/buildsteplist.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/plugins/projectexplorer/buildsteplist.h b/src/plugins/projectexplorer/buildsteplist.h index b9fce034dae..59be5a17306 100644 --- a/src/plugins/projectexplorer/buildsteplist.h +++ b/src/plugins/projectexplorer/buildsteplist.h @@ -57,16 +57,6 @@ public: } return nullptr; } - template QListallOfType() { - QList result; - BS *bs = nullptr; - for (int i = 0; i < count(); ++i) { - bs = qobject_cast(at(i)); - if (bs) - result.append(bs); - } - return result; - } int count() const; bool isEmpty() const;