forked from qt-creator/qt-creator
ProjectExplorer: Remove unused function BuildStepList::allOfType
Change-Id: Ic06040ff874c308db561897bd1722081242e63fd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user