1
0
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:
Christophe Dumez 2008-12-29 22:09:39 +00:00
parent ff1fc527e0
commit 4c6359276c

View File

@ -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();
}
}