diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-26 22:23:25 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-28 19:43:45 +0300 |
commit | 9c4dd932c6d692178bb8d5265c634126cb415767 (patch) | |
tree | 527300f8e710859965c142aed4e779a16b9d4ab6 /plugins/ProfileEditor/forms/profileview.cpp | |
parent | Update ProfileEditor plugin (diff) | |
download | smolbote-9c4dd932c6d692178bb8d5265c634126cb415767.tar.xz |
Turn on more warnings by default
- fix clazy warnings
- fix various other compiler warnings
- bugfix: connect profiles' downloadRequested signal
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); } } |