Improve performance when scrolling large torrents

PR #19255.
This commit is contained in:
gdim47 2023-07-02 11:36:42 +03:00 committed by Vladimir Golovnev (glassez)
commit 7774020ba8
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -66,6 +66,7 @@ TorrentContentTreeView::TorrentContentTreeView(QWidget *parent)
: QTreeView(parent)
{
setExpandsOnDoubleClick(false);
setUniformRowHeights(true);
header()->setFirstSectionMovable(true);
}