summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 16:24:35 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 14:58:55 -0700
commite17fa41192da7dfde92f2bee451f7d67565c39f9 (patch)
treea11169a6f890ae560d894c31621a3e2c1392ca9d /qt-ui/models.cpp
parenta65280fbaef675c9451d4ee961b2c3771d3bbbd2 (diff)
downloadsubsurface-e17fa41192da7dfde92f2bee451f7d67565c39f9.tar.gz
Implemented the flags method for BuddyFilter
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 81e17edc2..ff92fda46 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -2369,7 +2369,7 @@ bool BuddyFilterModel::filterRow(int source_row, const QModelIndex &source_paren
Qt::ItemFlags BuddyFilterModel::flags(const QModelIndex &index) const
{
- return QStringListModel::flags(index);
+ return QStringListModel::flags(index) | Qt::ItemIsUserCheckable;
}
void BuddyFilterModel::repopulate()