mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
parent
de10968498
commit
b59d42fc1b
@ -501,6 +501,10 @@ void WebView::copyLinkToClipboard()
|
||||
|
||||
void WebView::savePageAs()
|
||||
{
|
||||
if (url().isEmpty() || url().toString() == QLatin1String("about:blank")) {
|
||||
return;
|
||||
}
|
||||
|
||||
QNetworkRequest request(url());
|
||||
QString suggestedFileName = QzTools::getFileNameFromUrl(url());
|
||||
if (!suggestedFileName.contains(QLatin1Char('.'))) {
|
||||
|
Loading…
Reference in New Issue
Block a user