some refactoring: make watchExpression/removeWatchExpression symmetric

wrt arguments
This commit is contained in:
hjk
2008-12-17 18:02:08 +01:00
parent 02a679d96b
commit b7fe1e7937
5 changed files with 33 additions and 15 deletions

View File

@@ -731,9 +731,9 @@ void DebuggerManager::collapseChildren(const QModelIndex &idx)
watchHandler()->collapseChildren(idx);
}
void DebuggerManager::removeWatchExpression(const QString &iname)
void DebuggerManager::removeWatchExpression(const QString &exp)
{
watchHandler()->removeWatchExpression(iname);
watchHandler()->removeWatchExpression(exp);
}
QVariant DebuggerManager::sessionValue(const QString &name)