Check isSelfContact in model data, don't reinvent the method.
authorRobin Burchell <viroteck@viroteck.net>
Mon, 6 Jun 2011 21:02:05 +0000 (00:02 +0300)
committerRobin Burchell <viroteck@viroteck.net>
Mon, 6 Jun 2011 21:10:34 +0000 (00:10 +0300)
commit1cf8e010ba008ade589dc9f2a3ee041f4a6d065d
treeb892a95f3f64361ead409ee13c711ccdc1de88f2
parentde4bf4ea7b108cc2f12b98b53d1230d2c8cb4468
Check isSelfContact in model data, don't reinvent the method.

Also mark isSelfContact methods const, as they don't need to modify state.

Signed-off-by: Robin Burchell <viroteck@viroteck.net>
lib/peoplemodel.cpp
lib/peoplemodel.h