summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-10-28 12:18:38 +0200
committerhjk <qtc-committer@nokia.com>2010-10-29 14:31:16 +0200
commit0afb34d5ebb0ade2b1232b97065378b517543894 (patch)
treede6ea32d9996f0baf5b729f5ea34465a3478fefc /src/plugins/debugger/watchhandler.cpp
parent7c36f472770f69376dc0217429eeb7edefa384cb (diff)
downloadqt-creator-0afb34d5ebb0ade2b1232b97065378b517543894.tar.gz
debugger: refactor breakpoint type, add function name to resolved jsbreakpoints
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 00dd7c3a4b..8bdb23c508 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -835,7 +835,7 @@ bool WatchModel::setData(const QModelIndex &index, const QVariant &value, int ro
const int index = handler->findWatchPointIndexByAddress(address);
if (index == -1) {
BreakpointData *data = new BreakpointData;
- data->type = BreakpointData::WatchpointType;
+ data->type = Watchpoint;
data->address = address;
handler->appendBreakpoint(data);
} else {