From 81122c02c3afe97c4eb6dc6802638f88a6b8dce6 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Mon, 14 Oct 2024 16:48:33 -0700 Subject: [PATCH] Fix zoom decrement icon. https://redmine.stoutner.com/issues/1230 --- doc/index.docbook | 45 ++++++++++++++++++++++++++++++++++- src/windows/BrowserWindow.cpp | 10 ++++---- 2 files changed, 49 insertions(+), 6 deletions(-) diff --git a/doc/index.docbook b/doc/index.docbook index a9c5ac3..f40ecc3 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -456,6 +456,48 @@ + + + + + + &Alt;F + + + File + + Open with Firefox + + + + + + Open the current URL in Firefox. This entry only displays if Firefox is installed. + + + + + + + + + + &Alt;C + + + File + + Open with Chromium + + + + + + Open the current URL in Chromium. This entry only displays if Chromium is installed. + + + + @@ -1795,7 +1837,8 @@ - 0.6.2 - 30 September 2024 + <ulink url="https://www.stoutner.com/privacy-browser-pc-0-6-2/">0.6.2</ulink> - + <ulink url="https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=commitdiff;h=b9083b1fd4aecc77cc090508d9448050b88c69ed;ds=sidebyside">30 September 2024</ulink> Fix a PIE/PIC crash in the Ubuntu packages (hopefully). diff --git a/src/windows/BrowserWindow.cpp b/src/windows/BrowserWindow.cpp index 4e9f303..c101c8e 100644 --- a/src/windows/BrowserWindow.cpp +++ b/src/windows/BrowserWindow.cpp @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Privacy Browser PC. If not, see . + * along with Privacy Browser PC. If not, see . */ // Application headers. @@ -498,8 +498,8 @@ BrowserWindow::BrowserWindow(bool firstWindow, QString *initialUrlStringPointer) findTextLineEditPointer->setClearButtonEnabled(true); // Add the actions to the URL line edit. - bookmarkedActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme("non-starred-symbolic"), QLineEdit::LeadingPosition); - QAction *addOrEditDomainSettingsActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme("settings-configure", QIcon::fromTheme(QLatin1String("preferences-desktop"))), + bookmarkedActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme(QLatin1String("non-starred-symbolic")), QLineEdit::LeadingPosition); + QAction *addOrEditDomainSettingsActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme(QLatin1String("settings-configure"), QIcon::fromTheme(QLatin1String("preferences-desktop"))), QLineEdit::TrailingPosition); // Set the bookmarked action pointer to be checkable. @@ -554,8 +554,8 @@ BrowserWindow::BrowserWindow(bool firstWindow, QString *initialUrlStringPointer) zoomPlusButtonPointer = new QPushButton(); // Set the button icons. - zoomMinusButtonPointer->setIcon(QIcon::fromTheme(QStringLiteral("list-remove-symbolic"))); - zoomPlusButtonPointer->setIcon(QIcon::fromTheme(QStringLiteral("list-add-symbolic"))); + zoomMinusButtonPointer->setIcon(QIcon::fromTheme(QLatin1String("spinbox-decrease"), QIcon::fromTheme(QLatin1String("list-remove-symbolic")))); + zoomPlusButtonPointer->setIcon(QIcon::fromTheme(QLatin1String("spinbox-increase"), QIcon::fromTheme(QLatin1String("list-add-symbolic")))); // Set the button icons to be flat (no borders). zoomMinusButtonPointer->setFlat(true); -- 2.45.2