diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-07 18:33:41 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-07 18:33:41 +0200 |
commit | 5ddb68f54dd0c818d68a3d9ef6539c303f46691f (patch) | |
tree | 0ee1f124a90d082b8e87c853571fd96b073e155f | |
parent | SearchBar: adopting coding style rules.. (diff) | |
download | rekonq-5ddb68f54dd0c818d68a3d9ef6539c303f46691f.tar.xz |
Fixing Bookmarks provider class, following (a bit..) pawel suggestions
-rw-r--r-- | src/bookmarks.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp index 80f005a5..92947fd6 100644 --- a/src/bookmarks.cpp +++ b/src/bookmarks.cpp @@ -87,11 +87,13 @@ KMenu* BookmarksMenu::viewContextMenu(QAction* action) BookmarksProvider::BookmarksProvider(KMainWindow* parent) - : m_parent(parent) + : QObject(parent) , m_owner(new OwnBookMarks(parent)) , m_bmMenu(0) , m_bmToolbar(0) { + m_parent = parent; + KUrl bookfile = KUrl("~/.kde/share/apps/konqueror/bookmarks.xml"); // share konqueror bookmarks if (!QFile::exists(bookfile.path())) |