Browse Source

- Fixed progress display of uncheck torrents

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
4c6359276c
  1. 1
      src/qtorrenthandle.cpp

1
src/qtorrenthandle.cpp

@ -323,6 +323,7 @@ void QTorrentHandle::pause() { @@ -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…
Cancel
Save