Commit 18971d36 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use ref here

parent e8369584
Pipeline #174968 passed with stage
in 2 minutes and 7 seconds
......@@ -861,7 +861,7 @@ bool TabWidget::restoreState(const QVector<WebTab::SavedTab> &tabs, int currentT
}
}
for (const auto p : qAsConst(childTabs)) {
for (const auto &p : qAsConst(childTabs)) {
const auto indices = p.second;
for (int index : indices) {
WebTab *t = weTab(index);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment