From 48d5e3326bd1183eea98aef4abbcb289b6399458 Mon Sep 17 00:00:00 2001 From: gdim47 <114874261+gdim47@users.noreply.github.com> Date: Sun, 2 Jul 2023 11:36:42 +0300 Subject: [PATCH] Improve performance when scrolling large torrents PR #19255. --- src/gui/torrentcontentwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/torrentcontentwidget.cpp b/src/gui/torrentcontentwidget.cpp index 4ff431144..594fe76f1 100644 --- a/src/gui/torrentcontentwidget.cpp +++ b/src/gui/torrentcontentwidget.cpp @@ -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);