diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-11-14 17:41:28 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-12-12 16:40:28 +0100 |
commit | e35004358ab0b290a5fefd893c7c9aab9cce6440 (patch) | |
tree | 9b84f4e54b2cd04642ecc7e8bb5a8d56003bd370 /src/webtab.cpp | |
parent | Let the "big sync" work (the one done every minute...) (diff) | |
download | rekonq-e35004358ab0b290a5fefd893c7c9aab9cce6440.tar.xz |
let history, bookmarks and passwords sync on change (first bits)
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r-- | src/webtab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp index b4694064..bded411c 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -41,6 +41,7 @@ #include "webshortcutwidget.h" #include "application.h" #include "sessionmanager.h" +#include "syncmanager.h" #include "opensearchmanager.h" #include "messagebar.h" @@ -152,6 +153,10 @@ void WebTab::createWalletBar(const QString &key, const QUrl &url) wallet, SLOT(acceptSaveFormDataRequest(const QString &)), Qt::UniqueConnection); connect(m_walletBar.data(), SIGNAL(saveFormDataRejected(const QString &)), wallet, SLOT(rejectSaveFormDataRequest(const QString &)), Qt::UniqueConnection); + + // sync passwords + connect(m_walletBar.data(), SIGNAL(saveFormDataAccepted(const QString &)), + rApp->syncManager(), SLOT(syncPasswords()), Qt::UniqueConnection); } |