┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
authorGregor Mi <[email protected]>2017-09-21 15:41:26 +0200
committerEmmanuel Pescosta <[email protected]>2017-09-21 15:41:26 +0200
commit3749b5552729b434655ddc950b120bb14fe888c7 (patch)
treec674c90c2a117cb34e43490a5c05829091c96982 /src/dolphinviewcontainer.h
parent49396318f0f37f913a91bf02484a16e34fec6bf4 (diff)
Select child folder when navigating to a parent folder
Whenever the dolphin view is initialized to show the contents of a new URL (e.g. "/home/x/test") it will be checked if the new URL is a parent of the previous displayed URL (e.g. "/home/x/test/documents/aaa"). If the check is successful, then the common child (in this example: "/home/x/test/documents/") folder item will be selected and scrolled into view. REVIEW: 123253 BUG: 377392 CCBUG: 335616
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h
index e50386ab6..41c8f0b04 100644
--- a/src/dolphinviewcontainer.h
+++ b/src/dolphinviewcontainer.h
@@ -257,6 +257,11 @@ private slots:
void slotUrlNavigatorLocationChanged(const QUrl& url);
/**
+ * @see KUrlNavigator::urlSelectionRequested
+ */
+ void slotUrlSelectionRequested(const QUrl& url);
+
+ /**
* Is invoked when a redirection is done and changes the
* URL of the URL navigator to \a newUrl without triggering
* a reloading of the directory.