mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
- Removed workaround for getting progress of paused torrents, apparently it works
This commit is contained in:
parent
afbfe1a96d
commit
c97bce4d61
4 changed files with 3 additions and 29 deletions
|
@ -323,7 +323,6 @@ void QTorrentHandle::pause() {
|
|||
if(!QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash()+".paused")) {
|
||||
QFile paused_file(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash()+".paused");
|
||||
paused_file.open(QIODevice::WriteOnly | QIODevice::Text);
|
||||
paused_file.write(QByteArray::number((double)progress()));
|
||||
paused_file.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue