diff options
| author | Tannin <devnull@localhost> | 2013-12-01 23:50:24 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-12-01 23:50:24 +0100 |
| commit | daf4ae44faee3e641a743cc9f4e0c56f016faad4 (patch) | |
| tree | 06cb509ed818a9defcee0d5788e344e385c90b5b /src/modlistsortproxy.h | |
| parent | ac29aa81f2665fcd80378fe83e8efe7a41d15af2 (diff) | |
- added second context menu for changing categories that applies only changes to
the selected mods instead of replacing the existing set of categories (thanks to Ross!)
- bugfix: category filtering didn't work correctly when grouping was also active
Diffstat (limited to 'src/modlistsortproxy.h')
| -rw-r--r-- | src/modlistsortproxy.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/modlistsortproxy.h b/src/modlistsortproxy.h index dd968b9e..3e18ea4e 100644 --- a/src/modlistsortproxy.h +++ b/src/modlistsortproxy.h @@ -52,14 +52,7 @@ public: **/ void disableAllVisible(); - bool filterMatches(ModInfo::Ptr info, bool enabled) const; - -/* - virtual int rowCount( const QModelIndex & parent = QModelIndex() ) const { - int rc = QSortFilterProxyModel::rowCount(parent); - qDebug() << parent << " - " << rc; - return rc; - }*/ + bool filterMatchesMod(ModInfo::Ptr info, bool enabled) const; virtual bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const { return rowCount(parent) > 0; |
