Fix possible crashes in full allocation mode

This commit is contained in:
Christophe Dumez
2011-01-13 20:38:38 +00:00
parent 6996ccc2c8
commit eb0053fe48
2 changed files with 5 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ private:
void loadTorrentSettings(QTorrentHandle h);
void loadTorrentTempData(QTorrentHandle h, QString savePath, bool magnet);
libtorrent::add_torrent_params initializeAddTorrentParams(QString hash);
libtorrent::entry generateFilePriorityResumeData(boost::intrusive_ptr<libtorrent::torrent_info> t, const std::vector<int> &fp);
libtorrent::entry generateFilePriorityResumeData(boost::intrusive_ptr<libtorrent::torrent_info> &t, const std::vector<int> &fp);
private slots:
void addTorrentsFromScanFolder(QStringList&);