summaryrefslogtreecommitdiff
path: root/src/cookiejar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-06 09:54:17 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-06 09:54:17 +0200
commit71de98a78ee727173e54cc00fab5ece4de579a58 (patch)
tree5d50449185d966eb9e39063bcff749a1b301caf5 /src/cookiejar.cpp
parentclean code (diff)
downloadrekonq-71de98a78ee727173e54cc00fab5ece4de579a58.tar.xz
Some coding trivial fixes
Diffstat (limited to 'src/cookiejar.cpp')
-rw-r--r--src/cookiejar.cpp8
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
+}