mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 14:55:27 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue