diff options
author | Arno <am@disconnect.de> | 2011-05-15 09:58:19 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-05-15 09:58:19 +0200 |
commit | 9b2f7da813faea42587c0a78435a41aa338471fe (patch) | |
tree | 97b3107d499695502d397af3d5c4eced92d4adcf /seriestreewidget.h | |
parent | 3a70006747322708b81b91f52b447abb33d91df0 (diff) | |
download | SheMov-9b2f7da813faea42587c0a78435a41aa338471fe.tar.gz SheMov-9b2f7da813faea42587c0a78435a41aa338471fe.tar.bz2 SheMov-9b2f7da813faea42587c0a78435a41aa338471fe.zip |
Implement show all files
Implemented a new function showing all files belonging to the
selected series. The function respectect the current filter of
the SeriesTreeWidget.
Diffstat (limited to 'seriestreewidget.h')
-rw-r--r-- | seriestreewidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/seriestreewidget.h b/seriestreewidget.h index 9c2438e..9e2e0dc 100644 --- a/seriestreewidget.h +++ b/seriestreewidget.h @@ -115,6 +115,7 @@ class SeriesTreeSortModel : public QSortFilterProxyModel { public: SeriesTreeSortModel(QObject *parent = 0); ~SeriesTreeSortModel() {} + bool acceptedByFilter(int source_row, const QModelIndex &parent) const { return filterAcceptsRow(source_row, parent); } protected: virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const; |