aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/subwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-02 11:02:42 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-02 11:02:42 +0200
commit3533e0d4cce3e7af2df8e6c42f462315da8c9df8 (patch)
treeff19b54818708f122f4dc501fcaf80594b8b99a2 /src/mainwindow/subwindow.cpp
parentFix hg bookmark not showing up in arch build version (diff)
downloadsmolbote-3533e0d4cce3e7af2df8e6c42f462315da8c9df8.tar.xz
Clazy fixes
Diffstat (limited to 'src/mainwindow/subwindow.cpp')
-rw-r--r--src/mainwindow/subwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow/subwindow.cpp b/src/mainwindow/subwindow.cpp
index 497e6d0..17a2268 100644
--- a/src/mainwindow/subwindow.cpp
+++ b/src/mainwindow/subwindow.cpp
@@ -196,7 +196,7 @@ void SubWindow::restoreSession(const QJsonObject &sessionData)
return;
}
- for(const auto tab : tabs) {
+ for(const auto &tab : tabs) {
auto *view = new WebView(profile, this);
view->load(QUrl::fromUserInput(tab.toString()));
tabWidget->addTab(view);