cookie.value() didn't really need to be a string, since QSettings will take a QVariant anyways.

This commit is contained in:
IceArmy
2011-10-17 23:32:55 -07:00
parent 3ea50c443f
commit 5ffeef450c
+1 -1
View File
@@ -33,7 +33,7 @@ class CookieJar(QNetworkCookieJar):
settings.beginGroup(url.host())
for cookie in cookieList:
settings.setValue(str(cookie.name()), str(cookie.value()))
settings.setValue(str(cookie.name()), cookie.value())
settings.sync()