mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Added drag'n Drop from torrent list to labels (for torrent labeling)
- Fix label counters update in some cases
This commit is contained in:
parent
868d423c82
commit
18bd3b855c
5 changed files with 77 additions and 7 deletions
|
@ -52,7 +52,6 @@
|
|||
|
||||
TransferListWidget::TransferListWidget(QWidget *parent, GUI *main_window, Bittorrent *_BTSession):
|
||||
QTreeView(parent), BTSession(_BTSession), main_window(main_window) {
|
||||
|
||||
QSettings settings("qBittorrent", "qBittorrent");
|
||||
// Create and apply delegate
|
||||
listDelegate = new TransferListDelegate(this);
|
||||
|
@ -103,6 +102,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, GUI *main_window, Bittor
|
|||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
setItemsExpandable(false);
|
||||
setAutoScroll(true);
|
||||
setDragDropMode(QAbstractItemView::DragOnly);
|
||||
|
||||
hideColumn(TR_PRIORITY);
|
||||
//hideColumn(TR_LABEL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue