mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Reverted adding ".html" to downloads without suffix from 60d063a320
This commit is contained in:
parent
9a0a91ec46
commit
9dc38ca000
@ -269,12 +269,9 @@ QString DownloadFileHelper::getFileName(QNetworkReply* reply)
|
||||
baseName = tr("NoNameDownload");
|
||||
}
|
||||
|
||||
if (endName.isEmpty()) {
|
||||
endName = "html";
|
||||
}
|
||||
|
||||
if (!endName.isEmpty()) {
|
||||
endName.prepend(".");
|
||||
|
||||
}
|
||||
|
||||
QString name = baseName + endName;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user