aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/flamegraphmodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-06-06 19:23:15 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-06-18 12:35:36 +0000
commit5f9f8f9f167d7f21d4b2b7c9c2b143a8e86a9d8c (patch)
tree6652253c5f6ae8e3613ff65b2fa5e30ac72a1dfc /src/plugins/qmlprofiler/flamegraphmodel.h
parentb16ba2ba59b2877d6b6827f2d3717fd40c6a6627 (diff)
Tracing: Handle mouse events in FlameGraph QQuickItem
Having an additional MouseArea as child of a ScrollView or a Flickable is not well defined and leads to inconsistent behavior on different systems. We can easily catch the relevant events in the FlameGraph item itself. Also, don't redirect the typeSelected() signals through the model. They don't belong there. Change-Id: I77c17977b5a51d57ccd2ef880d3d6c6a604b7f78 Task-number: QTCREATORBUG-20573 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/flamegraphmodel.h')
-rw-r--r--src/plugins/qmlprofiler/flamegraphmodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/flamegraphmodel.h b/src/plugins/qmlprofiler/flamegraphmodel.h
index c1984ffc43..a5549c934d 100644
--- a/src/plugins/qmlprofiler/flamegraphmodel.h
+++ b/src/plugins/qmlprofiler/flamegraphmodel.h
@@ -95,7 +95,6 @@ public:
signals:
void gotoSourceLocation(const QString &fileName, int lineNumber, int columnNumber);
- void typeSelected(int typeIndex);
private:
QVariant lookup(const FlameGraphData &data, int role) const;