diff options
author | Ulf Hermann <[email protected]> | 2014-08-29 16:32:42 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2014-09-29 13:06:45 +0200 |
commit | 38f4d6a5f26b6c9ad532dba295ff10d8873a019e (patch) | |
tree | 3dc30ea9fc4a6fa491c89768fbf2cf5a15f52343 /src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp | |
parent | 3af3878ace09fedb98c495f9bda550f7aa0df39c (diff) |
QmlProfiler: rename "eventId" fields to "typeId" and "selectionId"
The convention is now that selections are the rows in the expanded
timeline, "types" are the types in the QmlProfilerDataModel, and
events are the single boxes in the timeline. Thus, the event view
shows only types and for consistency the V8 view does so, too.
Having eventId as synonym for "type index" and "event index" as
actual index into the list of events is confusing.
Change-Id: I6b7c4c3f1ab0a8b71c511de52ab296a2e91cf5f0
Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp b/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp index a0bcebc5f8b..2b0f56d332d 100644 --- a/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp @@ -107,8 +107,7 @@ void QmlProfilerViewManager::createViews() d->eventsView->setWindowTitle(tr("Events")); connect(d->eventsView, SIGNAL(gotoSourceLocation(QString,int,int)), this, SIGNAL(gotoSourceLocation(QString,int,int))); - connect(d->eventsView, SIGNAL(eventSelectedByTypeIndex(int)), - d->traceView, SLOT(selectByTypeIndex(int))); + connect(d->eventsView, SIGNAL(typeSelected(int)), d->traceView, SLOT(selectByTypeId(int))); connect(d->traceView, SIGNAL(gotoSourceLocation(QString,int,int)), d->eventsView, SLOT(selectBySourceLocation(QString,int,int))); |