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:
3994e59
)
Disable QGV BSP item indexing for the FlameGraph scene.
author
Milian Wolff
<milian.wolff@kdab.com>
Fri, 4 Sep 2015 14:13:48 +0000
(16:13 +0200)
committer
Milian Wolff
<milian.wolff@kdab.com>
Fri, 4 Sep 2015 14:13:48 +0000
(16:13 +0200)
The data changes frequently and this would be slow when we use the BSP.
gui/flamegraph.cpp
patch
|
blob
|
history
diff --git
a/gui/flamegraph.cpp
b/gui/flamegraph.cpp
index
a3a899c
..
8e2dc52
100644
(file)
--- a/
gui/flamegraph.cpp
+++ b/
gui/flamegraph.cpp
@@
-196,6
+196,7
@@
FlameGraph::FlameGraph(QWidget* parent, Qt::WindowFlags flags)
{
setLayout(new QVBoxLayout);
+ m_scene->setItemIndexMethod(QGraphicsScene::NoIndex);
m_view->setScene(m_scene);
m_view->viewport()->installEventFilter(this);
// prevent duplicate resize, when a scrollbar is shown for the first time