Commit 2dad2ca4 authored by Antonio Rojas's avatar Antonio Rojas

Adapt to Qt 5.10 rc2 API changes

setRecursiveFiltering has been renamed to setRecursiveFilteringEnabled

Differential Revision: https://phabricator.kde.org/D9098
parent 8f882395
......@@ -96,7 +96,7 @@ CheckedCollectionWidget::CheckedCollectionWidget(const QString &mimetype, QWidge
d->mCollectionFilter->setDynamicSortFilter(true);
#else
d->mCollectionFilter = new QSortFilterProxyModel(this);
d->mCollectionFilter->setRecursiveFiltering(true);
d->mCollectionFilter->setRecursiveFilteringEnabled(true);
#endif
d->mCollectionFilter->setSourceModel(d->mCheckProxy);
d->mCollectionFilter->setFilterCaseSensitivity(Qt::CaseInsensitive);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment