Remove unused variable.

This commit is contained in:
sledgehammer999 2014-12-07 15:09:56 +02:00
parent cd52d1820d
commit 78d4258dac

View file

@ -2932,7 +2932,6 @@ void QBtSession::downloadUrlAndSkipDialog(QString url, QString save_path, QStrin
// Add to Bittorrent session the downloaded torrent file // Add to Bittorrent session the downloaded torrent file
void QBtSession::processDownloadedFile(QString url, QString file_path) { void QBtSession::processDownloadedFile(QString url, QString file_path) {
Preferences* const pref = Preferences::instance();
const int index = url_skippingDlg.indexOf(QUrl::fromEncoded(url.toUtf8())); const int index = url_skippingDlg.indexOf(QUrl::fromEncoded(url.toUtf8()));
if (index < 0) { if (index < 0) {
// Add file to torrent download list // Add file to torrent download list