From 4c6359276c380f56dc831f6a71cb00189c123e87 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 29 Dec 2008 22:09:39 +0000 Subject: [PATCH] - Fixed progress display of uncheck torrents --- src/qtorrenthandle.cpp | 1 + 1 file changed, 1 insertion(+) 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(); } }