- Removed workaround for getting progress of paused torrents, apparently it works

This commit is contained in:
Christophe Dumez 2008-12-30 00:11:20 +00:00
parent afbfe1a96d
commit c97bce4d61
4 changed files with 3 additions and 29 deletions

View file

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