Changeset View
Changeset View
Standalone View
Standalone View
src/personssortfilterproxymodel.cpp
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 70 | for(const QString &key : qAsConst(d->m_keys)) { | |||
---|---|---|---|---|---|
71 | if (!contact->customProperty(key).isNull()) { | 71 | if (!contact->customProperty(key).isNull()) { | ||
72 | return true; | 72 | return true; | ||
73 | } | 73 | } | ||
74 | } | 74 | } | ||
75 | 75 | | |||
76 | return false; | 76 | return false; | ||
77 | } | 77 | } | ||
78 | 78 | | |||
79 | void PersonsSortFilterProxyModel::sort(int column, Qt::SortOrder order) | ||||
80 | { | ||||
81 | QSortFilterProxyModel::sort(column, order); | ||||
82 | } | ||||
79 | } | 83 | } |