diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-04-22 14:22:28 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-04-22 14:22:28 +0200 |
commit | f0f8b35e3725b52fba017551837fefe98ebfe63f (patch) | |
tree | 82c3182bda9fed9fff7410340792f3b7eca0d4bf /src/widgets/webviewtabbar.cpp | |
parent | Updated documentation (diff) | |
download | smolbote-f0f8b35e3725b52fba017551837fefe98ebfe63f.tar.xz |
clazy fixes
Diffstat (limited to 'src/widgets/webviewtabbar.cpp')
-rw-r--r-- | src/widgets/webviewtabbar.cpp | 2 |
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); |