From 9d60570ca784000cb5ef78b13861eee58117595d Mon Sep 17 00:00:00 2001 From: Akseli Lahtinen Date: Sat, 12 Apr 2025 16:28:38 +0000 Subject: DolphinNavigator: Hide the KUrlNavigator background if DolphinNavigator is outside of toolbar When the DolphinNavigator is outside of the toolbar, it's better to hide the background for better looks. This change works only when Dolphin is built against KIO 6.14. --- src/dolphinnavigatorswidgetaction.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/dolphinnavigatorswidgetaction.h') diff --git a/src/dolphinnavigatorswidgetaction.h b/src/dolphinnavigatorswidgetaction.h index 6f068e27d..c9ce4ece2 100644 --- a/src/dolphinnavigatorswidgetaction.h +++ b/src/dolphinnavigatorswidgetaction.h @@ -85,6 +85,13 @@ public: */ void setSecondaryNavigatorVisible(bool visible); + /** + * Sets the background cosmetic of the location bar(s) visible or hidden. + * In frameless designs it's better to hide the background. + * @param enabled True for showing background cosmetic, false for hiding it. + */ + void setBackgroundEnabled(bool enabled); + protected: /** * There should always ever be one navigatorsWidget for this action so -- cgit v1.3