|
|
|
@ -95,6 +95,8 @@ AddTorrentData::AddTorrentData()
@@ -95,6 +95,8 @@ AddTorrentData::AddTorrentData()
|
|
|
|
|
, hasRootFolder(true) |
|
|
|
|
, addForced(false) |
|
|
|
|
, addPaused(false) |
|
|
|
|
, uploadLimit(-1) |
|
|
|
|
, downloadLimit(-1) |
|
|
|
|
, ratioLimit(TorrentHandle::USE_GLOBAL_RATIO) |
|
|
|
|
, seedingTimeLimit(TorrentHandle::USE_GLOBAL_SEEDING_TIME) |
|
|
|
|
{ |
|
|
|
@ -118,6 +120,8 @@ AddTorrentData::AddTorrentData(const AddTorrentParams ¶ms)
@@ -118,6 +120,8 @@ AddTorrentData::AddTorrentData(const AddTorrentParams ¶ms)
|
|
|
|
|
, addPaused(params.addPaused == TriStateBool::Undefined |
|
|
|
|
? Session::instance()->isAddTorrentPaused() |
|
|
|
|
: params.addPaused == TriStateBool::True) |
|
|
|
|
, uploadLimit(params.uploadLimit) |
|
|
|
|
, downloadLimit(params.downloadLimit) |
|
|
|
|
, filePriorities(params.filePriorities) |
|
|
|
|
, ratioLimit(params.ignoreShareLimits ? TorrentHandle::NO_RATIO_LIMIT : TorrentHandle::USE_GLOBAL_RATIO) |
|
|
|
|
, seedingTimeLimit(params.ignoreShareLimits ? TorrentHandle::NO_SEEDING_TIME_LIMIT : TorrentHandle::USE_GLOBAL_SEEDING_TIME) |
|
|
|
|