From 2bb2729665294371d24ef7399424f9705c1911e0 Mon Sep 17 00:00:00 2001 From: Vladislav Tronko Date: Thu, 17 Dec 2015 00:32:29 +0200 Subject: [PATCH] Fix decoding special characters in download dialog --- src/lib/downloads/downloadmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/downloads/downloadmanager.cpp b/src/lib/downloads/downloadmanager.cpp index b9409b06d..a479ed541 100644 --- a/src/lib/downloads/downloadmanager.cpp +++ b/src/lib/downloads/downloadmanager.cpp @@ -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