From 3533e0d4cce3e7af2df8e6c42f462315da8c9df8 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 2 Jun 2018 11:02:42 +0200 Subject: Clazy fixes --- src/mainwindow/subwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainwindow/subwindow.cpp') 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); -- cgit v1.2.1