X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/aa0b09dac43ec2a58bd32a1e08d59acd35bd86aa..148282e2d856b47ceb191eeef4c834118c8cdffd:/src/treeviewsidebarpage.h diff --git a/src/treeviewsidebarpage.h b/src/treeviewsidebarpage.h index b9f1fba6d..3a37c8882 100644 --- a/src/treeviewsidebarpage.h +++ b/src/treeviewsidebarpage.h @@ -93,31 +93,12 @@ private slots: * to the index \a index. */ void dropUrls(const QModelIndex& index, QDropEvent* event); - - /** - * Invokes expandToLeafDir() asynchronously (the expanding - * may not be done in the context of this slot). - */ - void triggerExpanding(); - - /** - * Invokes loadSubTree() asynchronously (the loading - * may not be done in the context of this slot). - */ - void triggerLoadSubTree(); - - /** - * Expands all directories to make m_leafDir visible and - * adjusts the selection. - */ - void expandToLeafDir(); - + /** - * Loads the sub tree to make m_leafDir visible. Is invoked - * indirectly by loadTree() after the directory lister has - * finished loading the root items. + * Expands the treeview to show the directory + * specified by \a index. */ - void loadSubTree(); + void expandToDir(const QModelIndex& index); /** * Assures that the leaf folder gets visible.