summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp5
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);
}