diff options
Diffstat (limited to 'src/cookiejar.cpp')
-rw-r--r-- | src/cookiejar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cookiejar.cpp b/src/cookiejar.cpp index 079563e5..de7d7d7e 100644 --- a/src/cookiejar.cpp +++ b/src/cookiejar.cpp @@ -184,7 +184,8 @@ void CookieJar::save() QString filepath = KStandardDirs::locateLocal("appdata", "cookies.ini"); QSettings cookieSettings(filepath, QSettings::IniFormat); QList<QNetworkCookie> cookies = allCookies(); - for (int i = cookies.count() - 1; i >= 0; --i) { + for (int i = cookies.count() - 1; i >= 0; --i) + { if (cookies.at(i).isSessionCookie()) cookies.removeAt(i); } |