Fix compilation error.

This commit is contained in:
sledgehammer999 2013-09-11 01:11:04 +03:00
parent 135165d856
commit 2fc53613cd

View File

@ -1192,7 +1192,7 @@ void MainWindow::downloadFromURLList(const QStringList& url_list) {
else
QBtSession::instance()->addMagnetUri(url);
}
else if (url.startsWith("http://", Qt::CaseInsensitive) || startsWith("https://", Qt::CaseInsensitive)
else if (url.startsWith("http://", Qt::CaseInsensitive) || url.startsWith("https://", Qt::CaseInsensitive)
|| url.startsWith("ftp://", Qt::CaseInsensitive)) {
QBtSession::instance()->downloadFromUrl(url);
}