diff options
Diffstat (limited to 'src/cookiejar.cpp')
-rw-r--r-- | src/cookiejar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cookiejar.cpp b/src/cookiejar.cpp index 5146191d..aed1afd2 100644 --- a/src/cookiejar.cpp +++ b/src/cookiejar.cpp @@ -51,9 +51,9 @@ CookieJar::CookieJar(QObject* parent) : QNetworkCookieJar(parent) - , m_windowId(10) //m_windowId is important else doesn't connect with KCookieServer + , m_windowId(10) // m_windowId is important else doesn't connect with KCookieServer (yeah!) + , m_kcookiejar(new QDBusInterface("org.kde.kded", "/modules/kcookiejar", "org.kde.KCookieServer")) { - m_kcookiejar = new QDBusInterface("org.kde.kded", "/modules/kcookiejar", "org.kde.KCookieServer"); } @@ -98,7 +98,7 @@ bool CookieJar::setCookiesFromUrl(const QList<QNetworkCookie> & cookieList, cons void CookieJar::setWindowId(qlonglong id) { - m_windowId=id; + m_windowId = id; } @@ -110,4 +110,4 @@ void CookieJar::clear() kWarning() << "Unable to delete all the cookies as requested."; return; } -}
\ No newline at end of file +} |