[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-mobile/sebas/browserwindows] applications/webbrowser: Save
From: Sebastian_Kügler <sebas () kde ! org>
Date: 2011-08-27 2:51:14
Message-ID: 20110827025114.4DE98A6078 () git ! kde ! org
[Download RAW message or body]
Git commit 48afd8e68988f80c626af800c5973aeb9b609dc3 by Sebastian Kügler.
Committed on 27/08/2011 at 03:38.
Pushed by sebas into branch 'sebas/browserwindows'.
Save form data when form is submitted
happens unconditionally right now, true to our maxime: "no options" ;-)
We need some kind of confirmation wether or not to save passwords or
maybe even private browsing here.
M +4 -0 applications/webbrowser/kdeclarativewebview.cpp
http://commits.kde.org/plasma-mobile/48afd8e68988f80c626af800c5973aeb9b609dc3
diff --git a/applications/webbrowser/kdeclarativewebview.cpp \
b/applications/webbrowser/kdeclarativewebview.cpp index c3101be..b5e2b3a 100644
--- a/applications/webbrowser/kdeclarativewebview.cpp
+++ b/applications/webbrowser/kdeclarativewebview.cpp
@@ -304,6 +304,10 @@ void KDeclarativeWebView::init()
WId wid = KWindowSystem::activeWindow();
d->wallet = new KWebWallet(this, wid);
kwp->setWallet(d->wallet);
+ // TODO: hook in some dialog wether the user wants to save the form data
+ // happens unconditionally right now for every form filled in
+ connect(d->wallet, SIGNAL(saveFormDataRequested(const QString &, const QUrl \
&)), + d->wallet, SLOT(acceptSaveFormDataRequest(const QString &)), \
Qt::UniqueConnection); }
wp->setForwardUnsupportedContent(true);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic