summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cookiejar.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cookiejar.cpp b/src/cookiejar.cpp
index aed1afd2..7007bc61 100644
--- a/src/cookiejar.cpp
+++ b/src/cookiejar.cpp
@@ -32,9 +32,6 @@
// Auto Includes
#include "rekonq.h"
-// Local Includes
-#include "autosaver.h"
-
// KDE Includes
#include <KConfig>
#include <KStandardDirs>
@@ -51,7 +48,7 @@
CookieJar::CookieJar(QObject* parent)
: QNetworkCookieJar(parent)
- , m_windowId(10) // m_windowId is important else doesn't connect with KCookieServer (yeah!)
+ , m_windowId(-1)
, m_kcookiejar(new QDBusInterface("org.kde.kded", "/modules/kcookiejar", "org.kde.KCookieServer"))
{
}
@@ -98,6 +95,7 @@ bool CookieJar::setCookiesFromUrl(const QList<QNetworkCookie> & cookieList, cons
void CookieJar::setWindowId(qlonglong id)
{
+ kDebug() << id;
m_windowId = id;
}