mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
- Fixed some slots connects in new deleteThread
- Added some debug when pausing torrents
This commit is contained in:
parent
d04b9a7f02
commit
58dc75fbcf
2 changed files with 7 additions and 3 deletions
|
@ -200,7 +200,11 @@ bool bittorrent::pauseTorrent(QString hash){
|
|||
change = true;
|
||||
qDebug("Torrent paused successfully");
|
||||
}else{
|
||||
qDebug("Could not pause torrent, invalid or already paused.");
|
||||
if(!h.is_valid()){
|
||||
qDebug("Could not pause torrent %s, reason: invalid", (const char*)hash.toUtf8());
|
||||
}else{
|
||||
qDebug("Could not pause torrent %s, reason: already paused", (const char*)hash.toUtf8());
|
||||
}
|
||||
}
|
||||
// Create .paused file if necessary
|
||||
if(!QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused")){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue