From 2fc53613cd35fc11b354dce3e4b110d57b177148 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Wed, 11 Sep 2013 01:11:04 +0300 Subject: [PATCH] Fix compilation error. --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 49a86cd81..869a32b1f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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); }