1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 14:27:56 +00:00

Improve performance when scrolling large torrents

PR #19255.
This commit is contained in:
gdim47 2023-07-02 11:36:42 +03:00 committed by GitHub
parent 80791e328d
commit 48d5e3326b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,7 @@ TorrentContentWidget::TorrentContentWidget(QWidget *parent)
{
setExpandsOnDoubleClick(false);
setSortingEnabled(true);
setUniformRowHeights(true);
header()->setSortIndicator(0, Qt::AscendingOrder);
header()->setFirstSectionMovable(true);
header()->setContextMenuPolicy(Qt::CustomContextMenu);