Progress of paused torrents is now correct on restart

This commit is contained in:
Christophe Dumez
2007-06-28 21:54:07 +00:00
parent 8755ebba01
commit 568b2ddf75
4 changed files with 25 additions and 3 deletions

View File

@@ -57,6 +57,7 @@ class bittorrent : public QObject{
downloadThread *downloader;
QStringList supported_preview_extensions;
QString defaultSavePath;
QStringList torrentsToPauseAfterChecking;
protected:
QString getSavePath(const QString& hash);
@@ -76,6 +77,7 @@ class bittorrent : public QObject{
QList<torrent_handle> getFinishedTorrentHandles() const;
session_status getSessionStatus() const;
int getListenPort() const;
QStringList getTorrentsToPauseAfterChecking() const;
public slots:
void addTorrent(const QString& path, bool fromScanDir = false, const QString& from_url = QString());