ProjectExplorer: Remove unused function BuildStepList::allOfType

Change-Id: Ic06040ff874c308db561897bd1722081242e63fd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-07-25 17:30:39 +02:00
parent db6cd708db
commit 9b5ac303f3

View File

@@ -57,16 +57,6 @@ public:
} }
return nullptr; 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; int count() const;
bool isEmpty() const; bool isEmpty() const;