summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks.cpp4
-rw-r--r--src/bookmarks.h6
-rw-r--r--src/homepage.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp
index b1e482cf..a92cb2bb 100644
--- a/src/bookmarks.cpp
+++ b/src/bookmarks.cpp
@@ -297,7 +297,7 @@ KAction *BookmarkProvider::fillBookmarkBar(const KBookmark &bookmark)
}
-KBookmarkGroup BookmarkProvider::toolbar()
+KBookmarkGroup BookmarkProvider::rootGroup()
{
- return m_manager->toolbar();
+ return m_manager->root();
}
diff --git a/src/bookmarks.h b/src/bookmarks.h
index 09d05f6c..5fd0ebee 100644
--- a/src/bookmarks.h
+++ b/src/bookmarks.h
@@ -201,11 +201,11 @@ public:
QAction *actionByName(const QString &name);
/**
- * returns Bookmark Manager toolbar
+ * returns Bookmark Manager root group
*
- * Used in rekonq home page
+ * @return the root bookmark group
*/
- KBookmarkGroup toolbar();
+ KBookmarkGroup rootGroup();
signals:
/**
* @short This signal is emitted when an url has to be loaded
diff --git a/src/homepage.cpp b/src/homepage.cpp
index bba49999..f733d4c8 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -114,7 +114,7 @@ QString HomePage::fillHistory()
QString HomePage::fillBookmarks()
{
- KBookmarkGroup toolBarGroup = Application::bookmarkProvider()->toolbar();
+ KBookmarkGroup toolBarGroup = Application::bookmarkProvider()->rootGroup();
if (toolBarGroup.isNull())
{
return QString("Error retrieving bookmarks!");