]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/widgets/TabWidget.cpp
Add GNOME edit current domain settings icon. https://redmine.stoutner.com/issues/999
[PrivacyBrowserPC.git] / src / widgets / TabWidget.cpp
index cbb84b3dfe3c9d9f081da5870c48d662b1dbe039..28a6cf2da591ef59e5e8d9a72b0f5fe5f6424d5c 100644 (file)
@@ -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.