diff options
author | hjk <hjk@theqtcompany.com> | 2015-03-06 16:40:22 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-03-09 11:52:52 +0000 |
commit | ef894f21e28337805732f5e1b60a2d4b6f70ac98 (patch) | |
tree | 204cec962629938edb126e2b64cb5ee16f8f6f66 /src/plugins/debugger/watchwindow.cpp | |
parent | 915bb5413cf6d8d6116748b6460ef194d1575169 (diff) |
Debugger: Rename WatchHandler::remove{Data->ItemByIName}
That's what it does.
Change-Id: If1a1bf91220630ad09e5ec8636ccb9d67c8d0947
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/watchwindow.cpp')
-rw-r--r-- | src/plugins/debugger/watchwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 4c35980269..12503058e5 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -460,7 +460,7 @@ void WatchTreeView::keyPressEvent(QKeyEvent *ev) if (ev->key() == Qt::Key_Delete && m_type == WatchersType) { WatchHandler *handler = currentEngine()->watchHandler(); foreach (const QModelIndex &idx, activeRows()) - handler->removeData(idx.data(LocalsINameRole).toByteArray()); + handler->removeItemByIName(idx.data(LocalsINameRole).toByteArray()); } else if (ev->key() == Qt::Key_Return && ev->modifiers() == Qt::ControlModifier && m_type == LocalsType) { @@ -886,7 +886,7 @@ void WatchTreeView::contextMenuEvent(QContextMenuEvent *ev) } else if (act == &actWatchExpression) { watchExpression(exp, name); } else if (act == &actRemoveWatchExpression) { - handler->removeData(p.data(LocalsINameRole).toByteArray()); + handler->removeItemByIName(p.data(LocalsINameRole).toByteArray()); } else if (act == &actRemoveAllWatchExpression) { handler->clearWatches(); } else if (act == &actCopy) { |