From 1d56e9dbedf4ce056308a494edc7d4254189f9bc Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 20 Aug 2009 18:34:22 +0200 Subject: This commit siplifies winId management and let our webviews to not detect it. This could be dangerous thinking about what we have in mind... ;) --- src/webview.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/webview.cpp') diff --git a/src/webview.cpp b/src/webview.cpp index 1bf04885..75dc0979 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -36,8 +36,6 @@ #include "application.h" #include "mainwindow.h" #include "mainview.h" -#include "cookiejar.h" -#include "networkaccessmanager.h" #include "history.h" #include "webpage.h" @@ -66,10 +64,6 @@ WebView::WebView(QWidget* parent) setPage(m_page); connect(page(), SIGNAL(statusBarMessage(const QString&)), this, SLOT(setStatusBarText(const QString&))); - - const qlonglong winId = window()->winId(); - Application::cookieJar()->setWindowId(winId); - Application::networkAccessManager()->metaData().insert("window-id", QString::number(winId)); } -- cgit v1.2.1