Commit 4823c951 authored by Alexandre Lision's avatar Alexandre Lision Committed by gerrit2

smartlist: remove filter

Filtering is now handled by the recentmodel itself.

Change-Id: Id1fa6e27e0a1353b7986ab6a2f0813ea531424a6
Tuleap: #651
parent 886cde17
......@@ -70,7 +70,6 @@ NSInteger const CANCEL_BUTTON_TAG = 600;
{
NSLog(@"INIT SmartView VC");
RecentModel::instance().peopleProxy()->setFilterRole((int)Ring::Role::Name);
treeController = [[QNSTreeController alloc] initWithQModel:RecentModel::instance().peopleProxy()];
[treeController setAvoidsEmptySelection:NO];
[treeController setChildrenKeyPath:@"children"];
......@@ -373,7 +372,6 @@ NSInteger const CANCEL_BUTTON_TAG = 600;
- (void)controlTextDidChange:(NSNotification *) notification
{
BOOL empty = [[searchField stringValue] isEqualTo:@""];
RecentModel::instance().peopleProxy()->setFilterWildcard(QString::fromNSString([searchField stringValue]));
}
......
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