mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Use ref here
This commit is contained in:
parent
e8369584bb
commit
18971d364e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user