Implemented the flags method for LocationFilter.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1c0da67a26
commit
dc147be153
@ -2487,7 +2487,7 @@ bool LocationFilterModel::filterRow(int source_row, const QModelIndex &source_pa
|
||||
|
||||
Qt::ItemFlags LocationFilterModel::flags(const QModelIndex &index) const
|
||||
{
|
||||
return QStringListModel::flags(index);
|
||||
return QStringListModel::flags(index) | Qt::ItemIsUserCheckable;
|
||||
}
|
||||
|
||||
LocationFilterModel *LocationFilterModel::instance()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user