┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2020-06-14 16:20:02 +0200
committerElvis Angelaccio <[email protected]>2020-11-09 23:49:07 +0100
commitad5d3367c7fef4c3c11188a768f21a2ee2b3c025 (patch)
treefa59507fdc29060eba061b776c74c53e57b8b668 /src/settings
parent880766bd56c0331f39ecffaa08974b5117e3d72a (diff)
Add an option to use an UrlNavigator in the toolbar instead
This commit adds a locationInToolbar KToggleAction to switch between using a location bar to navigate or using a new custom QWidgetAction in the toolbar. A big portion of this MR is refactoring because until now the UrlNavigator was tightly intertwined with the DolphinViewContainer. With this MR an UrlNavigator for controlling a View can be freely connected or disconnected with a single method call. A DolphinUrlNavigator class is created in the process which contains all Dolphin-specific UrlNavigator code which did previously reside in the DolphinViewContainer class. Other application parts that belong to UrlNavigator-management are also moved here.
Diffstat (limited to 'src/settings')
-rw-r--r--src/settings/dolphin_generalsettings.kcfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings/dolphin_generalsettings.kcfg b/src/settings/dolphin_generalsettings.kcfg
index c397b2945..9a13493a1 100644
--- a/src/settings/dolphin_generalsettings.kcfg
+++ b/src/settings/dolphin_generalsettings.kcfg
@@ -50,6 +50,10 @@
<label>Split the view into two panes</label>
<default>false</default>
</entry>
+ <entry name="LocationInToolbar" type="Bool">
+ <label>Should the location be shown in the toolbar instead</label>
+ <default>false</default>
+ </entry>
<entry name="FilterBar" type="Bool">
<label>Should the filter bar be shown</label>
<default>false</default>