1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fix decoding special characters in download dialog

This commit is contained in:
Vladislav Tronko 2015-12-17 00:32:29 +02:00
parent 623a28f1fe
commit 2bb2729665

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