1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +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;
}
if (url.scheme() == QLatin1String("ftp")) {
DownloadManager* dManager = mApp->downloadManager();
dManager->handleUnsupportedContent(reply, this);
return;
}
qDebug() << "WebPage::UnsupportedContent" << url << "ProtocolUnknowError";
desktopServicesOpen(url);