mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +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