diff --git a/src/qtorrenthandle.cpp b/src/qtorrenthandle.cpp index a426d2782..b7236a3c2 100644 --- a/src/qtorrenthandle.cpp +++ b/src/qtorrenthandle.cpp @@ -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(); } }