summaryrefslogtreecommitdiffstats
path: root/kcachegrind/kcachegrind/stackbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcachegrind/kcachegrind/stackbrowser.cpp')
-rw-r--r--kcachegrind/kcachegrind/stackbrowser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcachegrind/kcachegrind/stackbrowser.cpp b/kcachegrind/kcachegrind/stackbrowser.cpp
index 78095eb2..843714a9 100644
--- a/kcachegrind/kcachegrind/stackbrowser.cpp
+++ b/kcachegrind/kcachegrind/stackbrowser.cpp
@@ -172,7 +172,7 @@ TraceFunction* Stack::called(TraceFunction* fn, bool extend)
return 0;
}
-bool Stack::contains(TraceFunction* fn)
+bool Stack::tqcontains(TraceFunction* fn)
{
// cycles are listed on there own
if (fn->cycle() == fn) return false;
@@ -337,7 +337,7 @@ HistoryItem* StackBrowser::select(TraceFunction* f)
}
Stack* s = _current->stack();
- if (!s->contains(f)) {
+ if (!s->tqcontains(f)) {
s = s->split(f);
if (!s)
s = new Stack(f);