1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00

WebPage: Download unsupported content from FTP protocol.

This commit is contained in:
S. Razi Alavizadeh 2014-12-29 21:59:08 +03:30
parent ce38c2d4fe
commit 9591754027

View File

@ -350,6 +350,12 @@ void WebPage::handleUnsupportedContent(QNetworkReply* reply)
return; return;
} }
if (url.scheme() == QLatin1String("ftp")) {
DownloadManager* dManager = mApp->downloadManager();
dManager->handleUnsupportedContent(reply, this);
return;
}
qDebug() << "WebPage::UnsupportedContent" << url << "ProtocolUnknowError"; qDebug() << "WebPage::UnsupportedContent" << url << "ProtocolUnknowError";
desktopServicesOpen(url); desktopServicesOpen(url);