diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-20 00:50:21 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-20 00:50:21 +0100 |
commit | 6eb9b36039f9c3a814207950ad35322ea1a8d3f0 (patch) | |
tree | 9d19c4b230d0386c3a4c691a9ed8f75decb052d6 /src/cookiejar.cpp | |
parent | Fixed history classes documentation (diff) | |
download | rekonq-6eb9b36039f9c3a814207950ad35322ea1a8d3f0.tar.xz |
QDesktopServices removed! Now rekonq lives just in kde directories!!
Diffstat (limited to 'src/cookiejar.cpp')
-rw-r--r-- | src/cookiejar.cpp | 8 |
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 ); |