debugger: re-enable "Delete all breakpoints" etc

This commit is contained in:
hjk
2010-11-15 15:30:39 +01:00
parent 30d6ae0e3d
commit a3923f8c24
4 changed files with 21 additions and 12 deletions

View File

@@ -352,6 +352,14 @@ BreakpointId BreakHandler::findBreakpointByIndex(const QModelIndex &index) const
return BreakpointId(-1);
}
BreakpointIds BreakHandler::findBreakpointsByIndex(const QList<QModelIndex> &list) const
{
BreakpointIds ids;
foreach (const QModelIndex &index, list)
ids.append(findBreakpointByIndex(index));
return ids;
}
QVariant BreakHandler::data(const QModelIndex &mi, int role) const
{
static const QString empty = QString(QLatin1Char('-'));