summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkprovider.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-11-14 17:41:28 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-12 16:40:28 +0100
commite35004358ab0b290a5fefd893c7c9aab9cce6440 (patch)
tree9b84f4e54b2cd04642ecc7e8bb5a8d56003bd370 /src/bookmarks/bookmarkprovider.cpp
parentLet the "big sync" work (the one done every minute...) (diff)
downloadrekonq-e35004358ab0b290a5fefd893c7c9aab9cce6440.tar.xz
let history, bookmarks and passwords sync on change (first bits)
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);
}