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:
parent
2c924b6834
commit
e90eac2d38
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user