// save_path is the only mandatory parameter, rest are optional.
addParams.save_path = boost::filesystem::path(settings_.value("download/directory").toString().toStdString());
//addParams.storage_mode = libtorrent::storage_mode_allocate;
// save_path is the only mandatory parameter, rest are optional.
addParams.save_path = boost::filesystem::path(settings_.value("download/directory").toString().toStdString());
//addParams.storage_mode = libtorrent::storage_mode_allocate;
- QTorrentHandle torrentHandle = QTorrentHandle(torrentAlert->handle);
- dlView_->updateItem(QTorrentHandle(torrentAlert->handle));
+ qtrapids::QTorrentHandle torrentHandle = qtrapids::QTorrentHandle(torrentAlert->handle);
+ dlView_->updateItem(qtrapids::QTorrentHandle(torrentAlert->handle));
{
for (unsigned i = 0; i < torrentHandles_.size(); ++i) {
if (torrentHandles_.at(i).get() == handlePtr.get()) {
{
for (unsigned i = 0; i < torrentHandles_.size(); ++i) {
if (torrentHandles_.at(i).get() == handlePtr.get()) {