diff options
Diffstat (limited to 'plugins/ProfileEditor/forms/profileview.cpp')
-rw-r--r-- | plugins/ProfileEditor/forms/profileview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ProfileEditor/forms/profileview.cpp b/plugins/ProfileEditor/forms/profileview.cpp index 992364c..23713cb 100644 --- a/plugins/ProfileEditor/forms/profileview.cpp +++ b/plugins/ProfileEditor/forms/profileview.cpp @@ -111,8 +111,8 @@ ProfileView::ProfileView(const QString &name, QWebEngineProfile *profile, QSetti connectSetting(ui->printElementBackgrounds, m_profile, QWebEngineSettings::PrintElementBackgrounds); // cookies tab - for(const auto &data : profile->property("cookies").toList()) { - for(const auto &cookie : QNetworkCookie::parseCookies(data.toByteArray())) { + for(auto &raw_cookies : profile->property("cookies").toList()) { + for(auto &cookie : QNetworkCookie::parseCookies(raw_cookies.toByteArray())) { cookieAdded(cookie); } } |