1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 10:32:11 +01:00

Use ref here

This commit is contained in:
Laurent Montel 2022-05-12 08:22:11 +02:00
parent e8369584bb
commit 18971d364e

View File

@ -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; const auto indices = p.second;
for (int index : indices) { for (int index : indices) {
WebTab *t = weTab(index); WebTab *t = weTab(index);