Fix detection of window ID

Authored by stefanocrocco on Aug 22 2019, 3:41 PM.

Description

Fix detection of window ID

Summary:
Session cookies weren't correctly deleted on shutdown because the window
ID passed to KCookieServer::addCookies was always 0. Now, the correct id
is passed.

Test Plan:
go to a page which creates session cookies (for example GMail), then
exit and open the Cookies KFM. Look at the cookies and check that there aren't
session cookies.

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: broulik

Differential Revision: https://phabricator.kde.org/D23353

Details

Committed
stefanocroccoAug 23 2019, 7:19 AM
Reviewer
dfaure
Differential Revision
D23353: Fix detection of window ID
Parents
R226:44f39c4fd8fa: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown