From e17fa41192da7dfde92f2bee451f7d67565c39f9 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 31 Oct 2014 16:24:35 -0200 Subject: Implemented the flags method for BuddyFilter Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/models.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-70-g09d2