projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da8c45
)
Do not clear flamegraph on hide
author
Milian Wolff
<mail@milianw.de>
Wed, 3 May 2017 22:07:26 +0000
(
00:07
+0200)
committer
Milian Wolff
<mail@milianw.de>
Wed, 3 May 2017 22:08:40 +0000
(
00:08
+0200)
This way we keep the history / zoom state when navigating away from
the flamegraph, e.g. to quickly check something in the caller/callee
view.
src/analyze/gui/flamegraph.cpp
patch
|
blob
|
history
diff --git
a/src/analyze/gui/flamegraph.cpp
b/src/analyze/gui/flamegraph.cpp
index
973967f
..
12b7dc1
100644
(file)
--- a/
src/analyze/gui/flamegraph.cpp
+++ b/
src/analyze/gui/flamegraph.cpp
@@
-573,8
+573,6
@@
bool FlameGraph::eventFilter(QObject* object, QEvent* event)
selectItem(m_selectionHistory.at(m_selectedItem));
}
updateTooltip();
- } else if (event->type() == QEvent::Hide) {
- setData(nullptr);
} else if (event->type() == QEvent::ToolTip) {
const auto& tooltip = m_displayLabel->toolTip();
if (tooltip.isEmpty()) {