summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks.cpp4
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()))