mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Removed wrong ASSERT in torrent creator
This commit is contained in:
parent
636f9b2912
commit
b3f89027fc
1 changed files with 0 additions and 2 deletions
|
@ -247,8 +247,6 @@ void TorrentCreatorDlg::updateOptimalPieceSize()
|
||||||
}
|
}
|
||||||
++i;
|
++i;
|
||||||
}while(i<m_piece_sizes.size());
|
}while(i<m_piece_sizes.size());
|
||||||
qDebug("ASSERT value %d <= %d", (int)(torrent_size/(m_piece_sizes.at(i)*1024.)), NB_PIECES_MIN);
|
|
||||||
Q_ASSERT((double)torrent_size/(m_piece_sizes.at(i)*1024.) > NB_PIECES_MIN);
|
|
||||||
comboPieceSize->setCurrentIndex(i);
|
comboPieceSize->setCurrentIndex(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue