Skip to content

Commit

Permalink
Merge pull request #119 from nemomobile/selectfix
Browse files Browse the repository at this point in the history
[nemo-qml-plugin-contacts] Fix bad patch introduced by PR#116
  • Loading branch information
amtep committed Oct 30, 2014
2 parents 326e89b + d100cfb commit 0819d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/seasidefilteredmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,10 +700,10 @@ bool SeasideFilteredModel::savePerson(SeasidePerson *person)

SeasidePerson *SeasideFilteredModel::personByRow(int row) const
{
if(row < 0 || row >= m_allContactIds->size()) {
if(row < 0 || row >= m_contactIds->size()) {
return NULL;
}
return personFromItem(SeasideCache::itemById(m_allContactIds->at(row)));
return personFromItem(SeasideCache::itemById(m_contactIds->at(row)));
}

SeasidePerson *SeasideFilteredModel::personById(int id) const
Expand Down

0 comments on commit 0819d9c

Please sign in to comment.