summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-20 13:47:41 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-03 00:04:21 +0200
commit915ef47d96260a55914dec5c5b1fb28e01f93028 (patch)
treeb0cd5bb805af9e471ebbc6f94587e691ec80df56 /src
parentPorting to KDE classes. It doesn't work well, for now.. (diff)
downloadrekonq-915ef47d96260a55914dec5c5b1fb28e01f93028.tar.xz
const char[]
Diffstat (limited to 'src')
-rw-r--r--src/cookiejar.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cookiejar.cpp b/src/cookiejar.cpp
index a2b08ffe..1e9ce3f2 100644
--- a/src/cookiejar.cpp
+++ b/src/cookiejar.cpp
@@ -49,6 +49,7 @@
static const unsigned int JAR_VERSION = 23;
+static const char cookieFileName[] = "cookies.ini.NEW";
// QDataStream &operator<<(QDataStream &stream, const QList<QNetworkCookie> &list)
// {
@@ -122,7 +123,7 @@ void CookieJar::load()
return;
// load cookies and exceptions
- QString filepath = KStandardDirs::locateLocal("appdata", "cookies.ini.NEW");
+ QString filepath = KStandardDirs::locateLocal("appdata", cookieFileName);
KConfig iniconfig(filepath);
// commented out to try managing cookies my way..
@@ -199,7 +200,7 @@ void CookieJar::save()
return;
purgeOldCookies();
- QString filepath = KStandardDirs::locateLocal("appdata", "cookies.ini.NEW");
+ QString filepath = KStandardDirs::locateLocal("appdata", cookieFileName);
KConfig iniconfig( filepath );
KConfigGroup inigroup1 = iniconfig.group("general");