Implemented the instance method for the BuddyFilter

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-10-31 16:21:33 -02:00 committed by Dirk Hohndel
parent 2c924b6834
commit e90eac2d38

View file

@ -2358,7 +2358,8 @@ BuddyFilterModel::BuddyFilterModel(QObject *parent)
BuddyFilterModel *BuddyFilterModel::instance()
{
static BuddyFilterModel *self = new BuddyFilterModel();
return self;
}
bool BuddyFilterModel::filterRow(int source_row, const QModelIndex &source_parent, QAbstractItemModel *sourceModel) const