From 5ddb68f54dd0c818d68a3d9ef6539c303f46691f Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 7 Apr 2009 18:33:41 +0200 Subject: Fixing Bookmarks provider class, following (a bit..) pawel suggestions --- src/bookmarks.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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())) -- cgit v1.2.1