aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/webviewtabbar.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-04-22 14:22:28 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-04-22 14:22:28 +0200
commitf0f8b35e3725b52fba017551837fefe98ebfe63f (patch)
tree82c3182bda9fed9fff7410340792f3b7eca0d4bf /src/widgets/webviewtabbar.cpp
parentUpdated documentation (diff)
downloadsmolbote-f0f8b35e3725b52fba017551837fefe98ebfe63f.tar.xz
clazy fixes
Diffstat (limited to 'src/widgets/webviewtabbar.cpp')
-rw-r--r--src/widgets/webviewtabbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/webviewtabbar.cpp b/src/widgets/webviewtabbar.cpp
index 9684e11..429b103 100644
--- a/src/widgets/webviewtabbar.cpp
+++ b/src/widgets/webviewtabbar.cpp
@@ -96,7 +96,7 @@ int WebViewTabBar::addTab(QWebEngineProfile *profile, const QUrl &url)
void WebViewTabBar::setProfile(QWebEngineProfile *profile)
{
- for(QWebEngineView *view : m_views) {
+ for(auto view : qAsConst(m_views)) {
QWebEnginePage *page = new QWebEnginePage(profile);
page->load(view->url());
view->setPage(page);