1
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:
nowrep 2012-03-22 19:41:12 +01:00
parent 9a0a91ec46
commit 9dc38ca000
2 changed files with 3 additions and 6 deletions

View File

@ -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;