From 74b2b955c93aa78793c676568945b89a14de9d19 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 29 Jul 2007 01:46:31 +0000 Subject: [PATCH] - Added some more debug in pause function --- src/bittorrent.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 145e845e3..8c7493d53 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -198,6 +198,9 @@ void bittorrent::pauseTorrent(QString hash){ QFile paused_file(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused"); paused_file.open(QIODevice::WriteOnly | QIODevice::Text); paused_file.close(); + qDebug("Torrent paused successfully"); + }else{ + qDebug("Could not pause torrent, invalid or already paused."); } int index = torrentsToPauseAfterChecking.indexOf(hash); if(index != -1) {