From bea885abc7a50f956b3ae9430a5f970c61641a09 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 19 Jan 2008 18:04:22 +0000 Subject: treeview: prevent that when expanding a subtree that the selected item gets hidden by the (maybe) appearing horizontal scrollbar svn path=/trunk/KDE/kdebase/apps/; revision=763543 --- src/treeviewsidebarpage.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/treeviewsidebarpage.h') diff --git a/src/treeviewsidebarpage.h b/src/treeviewsidebarpage.h index 9ff37ed06..a389077a9 100644 --- a/src/treeviewsidebarpage.h +++ b/src/treeviewsidebarpage.h @@ -99,6 +99,11 @@ private slots: */ void loadSubTree(); + /** + * Assures that the leaf folder gets visible. + */ + void scrollToLeaf(); + private: /** * Initializes the base URL of the tree and expands all -- cgit v1.3