mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Rename priority to queue in the context of torrents
This commit is contained in:
parent
afa73d4e89
commit
7b31868e3c
20 changed files with 171 additions and 160 deletions
|
@ -145,10 +145,10 @@ void TransferListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
|
|||
QItemDelegate::drawDisplay(painter, opt, opt.rect, str);
|
||||
}
|
||||
break;
|
||||
case TransferListModel::TR_PRIORITY: {
|
||||
const int priority = index.data().toInt();
|
||||
case TransferListModel::TR_QUEUE_POSITION: {
|
||||
const int queuePos = index.data().toInt();
|
||||
opt.displayAlignment = Qt::AlignRight | Qt::AlignVCenter;
|
||||
if (priority > 0) {
|
||||
if (queuePos > 0) {
|
||||
QItemDelegate::paint(painter, opt, index);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue