diff options
| author | Akseli Lahtinen <[email protected]> | 2025-04-12 16:28:38 +0000 |
|---|---|---|
| committer | Akseli Lahtinen <[email protected]> | 2025-04-12 16:28:38 +0000 |
| commit | 9d60570ca784000cb5ef78b13861eee58117595d (patch) | |
| tree | 4a228a59d48794ed5a97173bed1277e071033e1d /src/dolphinnavigatorswidgetaction.h | |
| parent | 1da33986b4fef14fcce0b8ddb4aaa722de074ce6 (diff) | |
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.
Diffstat (limited to 'src/dolphinnavigatorswidgetaction.h')
| -rw-r--r-- | src/dolphinnavigatorswidgetaction.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
