From e5645c7321bce182170b3cebfd9ae39f8c3c5445 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Mon, 25 May 2026 13:12:25 -0400 Subject: [PATCH] [falkon] Remove safeguard for removing both menubar and navbar --- ...ove-both-the-menubar-and-the-nav-bar.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 www-client/falkon/0018-Allow-to-remove-both-the-menubar-and-the-nav-bar.patch diff --git a/www-client/falkon/0018-Allow-to-remove-both-the-menubar-and-the-nav-bar.patch b/www-client/falkon/0018-Allow-to-remove-both-the-menubar-and-the-nav-bar.patch new file mode 100644 index 0000000..bd9decc --- /dev/null +++ b/www-client/falkon/0018-Allow-to-remove-both-the-menubar-and-the-nav-bar.patch @@ -0,0 +1,30 @@ +From 995a272b1bac5408aaca7dbef2636ddeca97171a Mon Sep 17 00:00:00 2001 +From: Jacopo De Simoi +Date: Wed, 13 May 2026 10:20:17 -0400 +Subject: [PATCH 18/18] Allow to remove both the menubar and the nav-bar + +--- + src/lib/app/browserwindow.cpp | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp +index 4b13751b8..920473078 100644 +--- a/src/lib/app/browserwindow.cpp ++++ b/src/lib/app/browserwindow.cpp +@@ -589,13 +589,6 @@ void BrowserWindow::loadSettings() + bool showNavigationToolbar = settings.value(QSL("showNavigationToolbar"), true).toBool(); + bool showMenuBar = settings.value(QSL("showMenubar"), false).toBool(); + +- // Make sure both menubar and navigationbar are not hidden +- // Fixes #781 +- if (!showNavigationToolbar) { +- showMenuBar = true; +- settings.setValue(QSL("showMenubar"), true); +- } +- + settings.endGroup(); + + settings.beginGroup(QSL("Shortcuts")); +-- +2.53.0 +