X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fwidgets%2FTabWidget.cpp;fp=src%2Fwidgets%2FTabWidget.cpp;h=28a6cf2da591ef59e5e8d9a72b0f5fe5f6424d5c;hp=cbb84b3dfe3c9d9f081da5870c48d662b1dbe039;hb=2cdfb2ff48e9933d9d957fd706a449bf5a6f322f;hpb=44b5d3a1f6a5e7fc2aa8530845f26eba7bc26f9a diff --git a/src/widgets/TabWidget.cpp b/src/widgets/TabWidget.cpp index cbb84b3..28a6cf2 100644 --- a/src/widgets/TabWidget.cpp +++ b/src/widgets/TabWidget.cpp @@ -1103,7 +1103,8 @@ void TabWidget::useNativeKdeDownloader(QUrl &downloadUrl, QString &suggestedFile // Create a file copy job. `-1` creates the file with default permissions. KIO::FileCopyJob *fileCopyJobPointer = KIO::file_copy(downloadUrl, saveLocation, -1, KIO::Overwrite); - // Set the download job to display any error messages. + // Set the download job to display any warning and error messages. + fileCopyJobPointer->uiDelegate()->setAutoWarningHandlingEnabled(true); fileCopyJobPointer->uiDelegate()->setAutoErrorHandlingEnabled(true); // Start the download.