1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

DownloadManager: Fix using external manager

Closes #1972
This commit is contained in:
David Rosca 2016-05-31 18:30:19 +02:00
parent a0691cb6a0
commit 5f6f0f7bd8

View File

@ -245,6 +245,8 @@ void DownloadManager::download(QWebEngineDownloadItem *downloadItem)
downloadItem->cancel(); downloadItem->cancel();
return; return;
} }
} else if (m_useExternalManager) {
startExternalManager(downloadItem->url());
} else { } else {
downloadPath = QzTools::ensureUniqueFilename(m_downloadPath + QL1C('/') + fileName); downloadPath = QzTools::ensureUniqueFilename(m_downloadPath + QL1C('/') + fileName);
} }