Draw progress bar in disabled style

This commit is contained in:
Chocobo1 2021-03-18 12:04:46 +08:00
parent 6ed2e2694f
commit be2cdca1e9
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
3 changed files with 24 additions and 3 deletions

View file

@ -498,7 +498,7 @@ QVariant TransferListModel::data(const QModelIndex &index, const int role) const
case Qt::DisplayRole:
return displayValue(torrent, index.column());
case UnderlyingDataRole:
return internalValue(torrent, index.column());
return internalValue(torrent, index.column(), false);
case AdditionalUnderlyingDataRole:
return internalValue(torrent, index.column(), true);
case Qt::DecorationRole: