mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
WebPage: Download unsupported content from FTP protocol.
This commit is contained in:
parent
ce38c2d4fe
commit
9591754027
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user