summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-30 16:34:34 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-06 16:40:55 +0100
commit5d59512ca2e4a36cf6c4f85537c8fa227c44c1dc (patch)
treea39a12a673b4f252488ae065213796eb9ea7df14 /src/mainview.cpp
parentHide findBar after one minute (diff)
downloadrekonq-5d59512ca2e4a36cf6c4f85537c8fa227c44c1dc.tar.xz
kde wallet integration.
First bits
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index f4598f22..d190507e 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -48,6 +48,7 @@
#include <KStandardDirs>
#include <KPassivePopup>
#include <KLocalizedString>
+#include <kwebwallet.h>
// Qt Includes
#include <QtCore/QTimer>
@@ -544,6 +545,13 @@ void MainView::webViewLoadFinished(bool ok)
webViewIconChanged();
emit browserTabLoading(false);
+ // KWallet Integration
+ // TODO: Add check for sites exempt from automatic form filling...
+ if (webView->page()->wallet())
+ {
+ webView->page()->wallet()->fillFormData(webView->page()->mainFrame());
+ }
+
// don't display messages for background tabs
if (index != currentIndex())
{