QFileSystemModel: remove unused functor

Change-Id: I5809ebdfcd973336cf42735a1275b57f12e1823c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Maks Naumov 2015-10-17 15:51:43 +03:00
parent 068a545339
commit 25e1f4549a

View File

@ -1768,26 +1768,6 @@ void QFileSystemModelPrivate::removeNode(QFileSystemModelPrivate::QFileSystemNod
q->endRemoveRows();
}
/*
\internal
Helper functor used by addVisibleFiles()
*/
class QFileSystemModelVisibleFinder
{
public:
inline QFileSystemModelVisibleFinder(QFileSystemModelPrivate::QFileSystemNode *node, QFileSystemModelSorter *sorter) : parentNode(node), sorter(sorter) {}
bool operator()(const QString &, QString r) const
{
return sorter->compareNodes(parentNode->children.value(name), parentNode->children.value(r));
}
QString name;
private:
QFileSystemModelPrivate::QFileSystemNode *parentNode;
QFileSystemModelSorter *sorter;
};
/*!
\internal