Changeset View
Changeset View
Standalone View
Standalone View
src/proxies/deduplicateproxy.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 49 | { | |||
---|---|---|---|---|---|
51 | d_ptr->m_fCompare = f; | 51 | d_ptr->m_fCompare = f; | ||
52 | 52 | | |||
53 | invalidateFilter(); | 53 | invalidateFilter(); | ||
54 | } | 54 | } | ||
55 | 55 | | |||
56 | /** | 56 | /** | ||
57 | * Useful when there is a main filter role, but some items need to be kept. | 57 | * Useful when there is a main filter role, but some items need to be kept. | ||
58 | * | 58 | * | ||
59 | * If any role added to this list is different, the index wont be hidden | 59 | * If any role added to this list is different, the index won't be hidden | ||
60 | * | 60 | * | ||
61 | * For example using this proxy to create instant messaging thread if they | 61 | * For example using this proxy to create instant messaging thread if they | ||
62 | * come from the same person, but also create different threads if the date | 62 | * come from the same person, but also create different threads if the date | ||
63 | * differ. | 63 | * differ. | ||
64 | */ | 64 | */ | ||
65 | void DeduplicateProxy::addFilterRole(int role) | 65 | void DeduplicateProxy::addFilterRole(int role) | ||
66 | { | 66 | { | ||
67 | d_ptr->m_lOtherRoles << role; | 67 | d_ptr->m_lOtherRoles << role; | ||
▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines |