diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index dca8b6fb..1bf04885 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -66,6 +66,10 @@ 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)); } |