Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 91876bf1 authored by Laurent Montel's avatar Laurent Montel 😁

Remove QT_CHECK

parent e42ec768
......@@ -24,11 +24,7 @@
#include <AkonadiCore/CollectionModifyJob>
#include <AkonadiCore/CollectionFilterProxyModel>
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
#include <KRecursiveFilterProxyModel>
#else
#include <QSortFilterProxyModel>
#endif
#include <QInputDialog>
#include <AkonadiWidgets/CollectionRequester>
......@@ -144,12 +140,8 @@ KNoteCollectionConfigWidget::KNoteCollectionConfigWidget(QWidget *parent)
connect(mModel, &Akonadi::EntityTreeModel::collectionTreeFetched, this, &KNoteCollectionConfigWidget::slotCollectionsInserted);
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
mCollectionFilter = new KRecursiveFilterProxyModel(this);
#else
mCollectionFilter = new QSortFilterProxyModel(this);
mCollectionFilter->setRecursiveFilteringEnabled(true);
#endif
mCollectionFilter->setSourceModel(mDisplayNotifierProxyModel);
mCollectionFilter->setDynamicSortFilter(true);
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