diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-06 12:12:19 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-06 12:12:19 +0200 |
commit | 1c4098b4871376b9172ca054099f36fe72e85adf (patch) | |
tree | 6c1f679395f37bb9923ada23533b68fc482d0b46 /src/cookiejar.cpp | |
parent | Fixing popus (eventual) closing crashes (diff) | |
download | rekonq-1c4098b4871376b9172ca054099f36fe72e85adf.tar.xz |
Debug info from setWindowID
also setting intial window empty (-1)
Diffstat (limited to 'src/cookiejar.cpp')
-rw-r--r-- | src/cookiejar.cpp | 6 |
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; } |