From 3749b5552729b434655ddc950b120bb14fe888c7 Mon Sep 17 00:00:00 2001 From: Gregor Mi Date: Thu, 21 Sep 2017 15:41:26 +0200 Subject: 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 --- src/dolphinviewcontainer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index e50386ab6..41c8f0b04 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -256,6 +256,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 -- cgit v1.3