Browse Source

Improve performance when scrolling large torrents

PR #19255.
adaptive-webui-19844
gdim47 1 year ago committed by GitHub
parent
commit
48d5e3326b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/gui/torrentcontentwidget.cpp

1
src/gui/torrentcontentwidget.cpp

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

Loading…
Cancel
Save