┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/folders/folderspanel.h
diff options
context:
space:
mode:
authorMichael Heidelbach <[email protected]>2018-01-14 10:53:11 -0700
committerNathaniel Graham <[email protected]>2018-01-14 10:54:46 -0700
commit3cb3d58fbf0a5d3736579ad7a52a2a46ab9c1d29 (patch)
tree4864823d98692d524390b8839b5e93f0391e1072 /src/panels/folders/folderspanel.h
parent65c0997164bd6f770c4286f7be83bcd2d3d145bd (diff)
folderspanel context-menu option "Limit to Home Directory" should be always visible
Summary: Only by chance I discovered that this option is visible but only when inside home. Before that I always edited dolphinrc to reenable it. I think it's less confusing to always show it but toggle its enabled state Test Plan: compile and run show folderspanel context-menu in different places Reviewers: #dolphin, emmanuelp, ngraham Reviewed By: #dolphin, ngraham Subscribers: elvisangelaccio Tags: #dolphin, #kde_applications Differential Revision: https://phabricator.kde.org/D9662
Diffstat (limited to 'src/panels/folders/folderspanel.h')
-rw-r--r--src/panels/folders/folderspanel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panels/folders/folderspanel.h b/src/panels/folders/folderspanel.h
index ab6c41b34..a653b4584 100644
--- a/src/panels/folders/folderspanel.h
+++ b/src/panels/folders/folderspanel.h
@@ -89,8 +89,9 @@ private:
* Initializes the base URL of the tree and expands all
* directories until \a url.
* @param url URL of the leaf directory that should get expanded.
+ * @param allowJumpHome indicate context menu got checked.
*/
- void loadTree(const QUrl& url);
+ void loadTree(const QUrl& url, bool allowJumpHome = false);
void reloadTree();