mirror of
https://github.com/encounter/phantomjs.git
synced 2026-03-30 11:35:11 -07:00
cookie.value() didn't really need to be a string, since QSettings will take a QVariant anyways.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user