]> granicus.if.org Git - transmission/commit
#5827: Improve torrent files tree updating performance
authorMike Gelfand <mikedld@mikedld.com>
Sun, 30 Nov 2014 18:12:28 +0000 (18:12 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Sun, 30 Nov 2014 18:12:28 +0000 (18:12 +0000)
commitd6c32595a688e66e8de889c1778ac0d63b5d9f83
treedfba2829712e6fc5dcaf869b34523d3b710d6b98
parented12ddb090f2ab65b8ba7247f497b7b201bf9513
#5827: Improve torrent files tree updating performance

Do not unnecessarily emit dataChanged signals for items which didn't change.
Cache file item indices to speedup lookup.
As a bonus, this also fixes wrong file progress display in rare cases.
qt/file-tree.cc
qt/file-tree.h