forked from qt-creator/qt-creator
Debugger: Code cosmetics
Sprinkling in const and ranged for. Change-Id: I5d11d57f64140021397c23734c7373544ebebb6f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -609,7 +609,7 @@ void DebuggerRunTool::start()
|
||||
|
||||
if (m_runParameters.startMode == StartInternal) {
|
||||
QStringList unhandledIds;
|
||||
foreach (Breakpoint bp, breakHandler()->allBreakpoints()) {
|
||||
for (const Breakpoint &bp : breakHandler()->allBreakpoints()) {
|
||||
if (bp.isEnabled() && !m_engine->acceptsBreakpoint(bp))
|
||||
unhandledIds.append(bp.id().toString());
|
||||
}
|
||||
|
Reference in New Issue
Block a user