diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-10-31 16:24:35 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-31 14:58:55 -0700 |
commit | e17fa41192da7dfde92f2bee451f7d67565c39f9 (patch) | |
tree | a11169a6f890ae560d894c31621a3e2c1392ca9d | |
parent | a65280fbaef675c9451d4ee961b2c3771d3bbbd2 (diff) | |
download | subsurface-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>
-rw-r--r-- | qt-ui/models.cpp | 2 |
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() |