Show stalled downloads that are uploading under the 'Active' filter. Closes #1654."

This commit is contained in:
sledgehammer999
2014-09-13 16:02:32 +03:00
parent 6a6e562f60
commit baf9d21072
7 changed files with 196 additions and 38 deletions

View File

@@ -41,14 +41,13 @@ class QBtSession;
class TransferListDelegate;
class MainWindow;
class TorrentModel;
class StatusSortFilterProxyModel;
QT_BEGIN_NAMESPACE
class QSortFilterProxyModel;
class QStandardItemModel;
QT_END_NAMESPACE
enum TorrentFilter {FILTER_ALL, FILTER_DOWNLOADING, FILTER_COMPLETED, FILTER_PAUSED, FILTER_ACTIVE, FILTER_INACTIVE};
class TransferListWidget: public QTreeView {
Q_OBJECT
@@ -115,7 +114,7 @@ private:
TransferListDelegate *listDelegate;
TorrentModel *listModel;
TransferListSortModel *nameFilterModel;
QSortFilterProxyModel *statusFilterModel;
StatusSortFilterProxyModel *statusFilterModel;
QSortFilterProxyModel *labelFilterModel;
QBtSession* BTSession;
MainWindow *main_window;