summaryrefslogtreecommitdiff
path: root/src/cookiejar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cookiejar.cpp')
-rw-r--r--src/cookiejar.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cookiejar.cpp b/src/cookiejar.cpp
index 098a2d47..4ed82e6d 100644
--- a/src/cookiejar.cpp
+++ b/src/cookiejar.cpp
@@ -186,14 +186,6 @@ void CookieJar::save()
if (!m_loaded)
return;
purgeOldCookies();
- QString directory = QDesktopServices::storageLocation(QDesktopServices::DataLocation);
- if (directory.isEmpty())
- directory = QDir::homePath() + QLatin1String("/.") + QCoreApplication::applicationName();
- if (!QFile::exists(directory))
- {
- QDir dir;
- dir.mkpath(directory);
- }
QString filepath = KStandardDirs::locateLocal("appdata", "cookies.ini");
KConfig iniconfig( filepath );