# Version 0.2 (17 April 2023)
- * Fix a crash on Gnome when downloading a file with local storage disabled.
- * Fix problems with missing icons on Gnome.
+ * Fix a crash on GNOME when downloading a file with local storage disabled.
+ * Fix problems with missing icons on GNOME.
* Display an animated favorite icon while a webpage is loading.
* Fix the Handbook on non-KDE systems.
* Change the order of entries in the WebEngine context menu.
<releases>
<release version="0.2" date="2023-04-17">
<description>
- <p>Fix a crash on Gnome when downloading a file with local storage disabled.</p>
- <p>Fix problems with missing icons on Gnome.</p>
+ <p>Fix a crash on GNOME when downloading a file with local storage disabled.</p>
+ <p>Fix problems with missing icons on GNOME.</p>
<p>Display an animated favorite icon while a webpage is loading.</p>
<p>Fix the Handbook on non-KDE systems.</p>
<p>Change the order of entries in the WebEngine context menu.</p>
KCrash::initialize();
// Instantiate about data, setting the component name, the display name, and the version.
- KAboutData aboutData(QStringLiteral("privacybrowser"), i18nc("Program Name", "Privacy Browser"), QStringLiteral("0.1"));
+ KAboutData aboutData(QStringLiteral("privacybrowser"), i18nc("Program Name", "Privacy Browser"), QStringLiteral("0.2"));
// Add the author name, job description, email address, and website.
aboutData.addAuthor(i18nc("Developer Information", "Soren Stoutner"),i18nc("Developer Information", "Principal developer"), QStringLiteral("soren@stoutner.com"),
// 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.
findTextLineEditPointer->setClearButtonEnabled(true);
// Add an edit or add domain settings action to the URL line edit.
- QAction *addOrEditDomainSettingsActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme("settings-configure"), QLineEdit::TrailingPosition);
+ QAction *addOrEditDomainSettingsActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme("settings-configure", QIcon::fromTheme(QLatin1String("preferences-desktop"))),
+ QLineEdit::TrailingPosition);
// Add or edit the current domain settings.
connect(addOrEditDomainSettingsActionPointer, SIGNAL(triggered()), this, SLOT(addOrEditDomainSettings()));