mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
- Fixed progress display of uncheck torrents
This commit is contained in:
parent
ff1fc527e0
commit
4c6359276c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue