┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/treeviewsidebarpage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-19 18:20:24 +0000
committerPeter Penz <[email protected]>2008-01-19 18:20:24 +0000
commit418eed751192d4dcf1b537a74863920d592bea10 (patch)
tree002e654546724faa4564069bf377cf46a78188fe /src/treeviewsidebarpage.h
parentef2c04a11834bba405281dae61c2c03507738716 (diff)
Backport:
treeview: prevent that when expanding a subtree that the selected item gets hidden by the (maybe) appearing horizontal scrollbar svn path=/branches/KDE/4.0/kdebase/apps/; revision=763550
Diffstat (limited to 'src/treeviewsidebarpage.h')
-rw-r--r--src/treeviewsidebarpage.h5
1 files changed, 5 insertions, 0 deletions
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