Browse Source

Merge pull request #2229 from pmzqla/vertical-align

Vertical align right-aligned header text
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
d24b67f77b
  1. 2
      src/qtlibtorrent/torrentmodel.cpp

2
src/qtlibtorrent/torrentmodel.cpp

@ -402,7 +402,7 @@ QVariant TorrentModel::headerData(int section, Qt::Orientation orientation, @@ -402,7 +402,7 @@ QVariant TorrentModel::headerData(int section, Qt::Orientation orientation,
case TorrentModelItem::TR_RATIO:
case TorrentModelItem::TR_PRIORITY:
case TorrentModelItem::TR_LAST_ACTIVITY:
return Qt::AlignRight;
return QVariant(Qt::AlignRight | Qt::AlignVCenter);
default:
return QAbstractListModel::headerData(section, orientation, role);
}

Loading…
Cancel
Save