diff options
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 89579c88..42704ab3 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -49,6 +49,7 @@ #include <KDebug> #include <KToolInvocation> #include <KProtocolManager> +#include <kwebwallet.h> #include <kparts/browseropenorsavequestion.h> @@ -80,6 +81,11 @@ WebPage::WebPage(QObject *parent) connect(networkAccessManager(), SIGNAL(finished(QNetworkReply*)), this, SLOT(manageNetworkErrors(QNetworkReply*))); connect(this, SIGNAL(unsupportedContent(QNetworkReply *)), this, SLOT(handleUnsupportedContent(QNetworkReply *))); + + // kwallet + KWebWallet *w = wallet(); + connect(w, SIGNAL(saveFormDataRequested(const QString &, const QUrl &)), + w, SLOT(acceptSaveFormDataRequest(const QString &))); } |