debugger: remove special case for char * python dumpers.

This is handled by the generic pointer case nowadays and was (now) wrong
as it was impossible to see the 'bald pointer' version of it.
This commit is contained in:
hjk
2010-06-23 16:30:42 +02:00
parent a25fd01a10
commit 658a22766d
2 changed files with 2 additions and 12 deletions

View File

@@ -420,11 +420,11 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
} else {
for (int i = 0; i != typeFormatActions.size(); ++i) {
if (act == typeFormatActions.at(i))
setModelData(LocalsTypeFormatRole, 1, mi1);
setModelData(LocalsTypeFormatRole, i, mi1);
}
for (int i = 0; i != individualFormatActions.size(); ++i) {
if (act == individualFormatActions.at(i))
setModelData(LocalsIndividualFormatRole, 1, mi1);
setModelData(LocalsIndividualFormatRole, i, mi1);
}
}
}