mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Use int instead of short where possible
This commit is contained in:
parent
6ecb45d661
commit
01df4d3c81
3 changed files with 4 additions and 4 deletions
|
@ -1135,7 +1135,7 @@ void bittorrent::reloadTorrent(const QTorrentHandle &h) {
|
|||
// Remove torrent
|
||||
s->remove_torrent(h.get_torrent_handle());
|
||||
// Add torrent again to session
|
||||
unsigned short timeout = 0;
|
||||
unsigned int timeout = 0;
|
||||
while(h.is_valid() && timeout < 6) {
|
||||
SleeperThread::msleep(1000);
|
||||
++timeout;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue