mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- Fixed size display for torrent with no filtered files (with libtorrent < v0.13), introduced recently
This commit is contained in:
@@ -1058,7 +1058,7 @@ size_type GUI::torrentEffectiveSize(QString hash) const{
|
|||||||
#endif
|
#endif
|
||||||
for(unsigned int i=0; i<nbFiles; ++i){
|
for(unsigned int i=0; i<nbFiles; ++i){
|
||||||
#ifndef V_0_13
|
#ifndef V_0_13
|
||||||
if(!corrupted_pieces_file && !filteredFiles.at(i).toInt())
|
if(corrupted_pieces_file || !filteredFiles.at(i).toInt())
|
||||||
#endif
|
#endif
|
||||||
#ifdef V_0_13
|
#ifdef V_0_13
|
||||||
if(h.piece_priority(i) != 0)
|
if(h.piece_priority(i) != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user