summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarksmanager.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-03-23 22:56:26 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2010-03-23 22:56:26 +0100
commite9670c51fef2c8447a04a30778a24646df4ef915 (patch)
tree0a6fcb5bc2696cfb3a4ed313e5bbb57a7a704f1d /src/bookmarks/bookmarksmanager.cpp
parentDoing "load finished" operations just on ok loading is really NOT (diff)
downloadrekonq-e9670c51fef2c8447a04a30778a24646df4ef915.tar.xz
A lot of fix and improvements for the bookmark and the history panels
Diffstat (limited to 'src/bookmarks/bookmarksmanager.cpp')
-rw-r--r--src/bookmarks/bookmarksmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp
index cfe26a55..9feed63a 100644
--- a/src/bookmarks/bookmarksmanager.cpp
+++ b/src/bookmarks/bookmarksmanager.cpp
@@ -178,7 +178,9 @@ BookmarkProvider::BookmarkProvider(QObject *parent)
bookfile = KUrl(bookmarksPath);
}
}
- m_manager = KBookmarkManager::managerForExternalFile(bookfile.path());
+ // A workaround to avoid a long delay between the two changed signals of the bookmark manager
+ m_manager = KBookmarkManager::managerForFile(bookfile.path(), "rekonq");
+
connect(m_manager, SIGNAL(changed(const QString &, const QString &)),
this, SLOT(slotBookmarksChanged(const QString &, const QString &)));