forked from qt-creator/qt-creator
Remove more deprecation warnings
Change-Id: Ie50e41737a4bf7bea41f550df7cc765267e8a144 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1006,7 +1006,7 @@ Breakpoints BreakHandler::findBreakpointsByIndex(const QList<QModelIndex> &list)
|
||||
if (Breakpoint bp = findBreakpointByIndex(index))
|
||||
items.insert(bp);
|
||||
}
|
||||
return items.toList();
|
||||
return Utils::toList(items);
|
||||
}
|
||||
|
||||
SubBreakpoints BreakHandler::findSubBreakpointsByIndex(const QList<QModelIndex> &list) const
|
||||
@@ -1016,7 +1016,7 @@ SubBreakpoints BreakHandler::findSubBreakpointsByIndex(const QList<QModelIndex>
|
||||
if (SubBreakpoint sbp = findSubBreakpointByIndex(index))
|
||||
items.insert(sbp);
|
||||
}
|
||||
return items.toList();
|
||||
return Utils::toList(items);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user