summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkprovider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/bookmarkprovider.cpp')
-rw-r--r--src/bookmarks/bookmarkprovider.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/bookmarks/bookmarkprovider.cpp b/src/bookmarks/bookmarkprovider.cpp
index ca705715..262941d8 100644
--- a/src/bookmarks/bookmarkprovider.cpp
+++ b/src/bookmarks/bookmarkprovider.cpp
@@ -69,8 +69,8 @@ BookmarkProvider::BookmarkProvider(QObject *parent)
delete tempManager;
}
- connect(m_manager, SIGNAL(changed(const QString &, const QString &)),
- this, SLOT(slotBookmarksChanged()));
+ connect(m_manager, SIGNAL(changed(const QString &, const QString &)), this, SLOT(slotBookmarksChanged()));
+ connect(m_manager, SIGNAL(changed(const QString &, const QString &)), this, SIGNAL(changed()));
// setup menu
m_owner = new BookmarkOwner(m_manager, this);
@@ -187,7 +187,10 @@ void BookmarkProvider::slotBookmarksChanged()
fillBookmarkBar(bookmarkToolBar);
}
}
- if (rApp->mainWindow() && rApp->mainWindow()->currentTab() && rApp->mainWindow()->currentTab()->url().toMimeDataString().contains("about:bookmarks"))
+ if (rApp->mainWindow()
+ && rApp->mainWindow()->currentTab()
+ && rApp->mainWindow()->currentTab()->url().toMimeDataString().contains("about:bookmarks")
+ )
rApp->loadUrl(KUrl("about:bookmarks"), Rekonq::CurrentTab);
}