summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-09 23:27:53 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-09 23:27:53 +0200
commit050659a86bc4419ae0d9f67ea013f8657fc23c71 (patch)
treec1aa5914aec9925a8163eae735601b5f1271712b /src/bookmarks/bookmarkmanager.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-050659a86bc4419ae0d9f67ea013f8657fc23c71.tar.xz
Fix session restore code
This let bookmark manager code properly load :) BUG: 296388 BUG: 298051
Diffstat (limited to 'src/bookmarks/bookmarkmanager.cpp')
-rw-r--r--src/bookmarks/bookmarkmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarkmanager.cpp b/src/bookmarks/bookmarkmanager.cpp
index 43f4dd3a..3ccb09a5 100644
--- a/src/bookmarks/bookmarkmanager.cpp
+++ b/src/bookmarks/bookmarkmanager.cpp
@@ -76,6 +76,9 @@ BookmarkManager::BookmarkManager(QObject *parent)
connect(m_owner, SIGNAL(openUrl(KUrl, Rekonq::OpenType)),
this, SIGNAL(openUrl(KUrl, Rekonq::OpenType)));
+ // bookmarks loading
+ connect(this, SIGNAL(openUrl(KUrl, Rekonq::OpenType)), rApp, SLOT(loadUrl(KUrl, Rekonq::OpenType)));
+
KAction *a = KStandardAction::addBookmark(m_owner, SLOT(bookmarkCurrentPage()), this);
m_actionCollection->addAction(QL1S("rekonq_add_bookmark"), a);
}