mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
- Fixed progress display of uncheck torrents
This commit is contained in:
parent
ff1fc527e0
commit
4c6359276c
@ -323,6 +323,7 @@ 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…
Reference in New Issue
Block a user