debugger: Rework watch model.

It's now properly using canFetchMore/fetchMore. cdb is not yet ported.
This commit is contained in:
hjk
2009-06-17 16:00:03 +02:00
parent 019fead338
commit 609f4a437b
18 changed files with 521 additions and 759 deletions

View File

@@ -147,7 +147,7 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
QAction *act4 = new QAction(tr("Synchronize breakpoints"), &menu);
QModelIndex idx0 = si.front();
QModelIndex idx0 = (si.size() ? si.front() : QModelIndex());
QModelIndex idx2 = idx0.sibling(idx0.row(), 2);
bool enabled = si.isEmpty() || model()->data(idx0, Qt::UserRole).toBool();
QString str5 = enabled ? tr("Disable breakpoint") : tr("Enable breakpoint");