1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

Merge pull request #1814 from innermous/patch-whitespace

Fix decoding special characters in download dialog
This commit is contained in:
David Rosca 2015-12-17 22:09:39 +01:00
commit 278299fe2a

View File

@ -214,6 +214,7 @@ void DownloadManager::download(QWebEngineDownloadItem *downloadItem)
bool openFile = false;
QString fileName = QFileInfo(downloadItem->path()).fileName();
fileName = QUrl::fromPercentEncoding(fileName.toUtf8());
if (m_downloadPath.isEmpty()) {
// Ask what to do