summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/memviewdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/memviewdlg.cpp')
-rw-r--r--languages/cpp/debugger/memviewdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/debugger/memviewdlg.cpp b/languages/cpp/debugger/memviewdlg.cpp
index 616b374f..42ad9d4c 100644
--- a/languages/cpp/debugger/memviewdlg.cpp
+++ b/languages/cpp/debugger/memviewdlg.cpp
@@ -466,7 +466,7 @@ namespace GDBDebugger
TQValueVector<MemoryView*>::iterator i, e;
for(i = memoryViews_.begin(), e = memoryViews_.end(); i != e; ++i)
{
- if (TQT_BASE_OBJECT(*i) == TQT_BASE_OBJECT(child))
+ if (*i == child)
{
memoryViews_.erase(i);
break;