summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-08-29 17:12:58 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-09-08 11:25:29 +0300
commit1ee5799e7e0e7466ba1ff8ffd637e12a131c60e2 (patch)
treea2e1ac2cd21384cd236fbfa1044c50d763ab9017
parent4cb16afcf041e225e1ed2c767998ed5169f00e30 (diff)
downloadqt-creator-1ee5799e7e0e7466ba1ff8ffd637e12a131c60e2.tar.gz
Don't resolve the type ID twice when coloring scene graph events
Change-Id: Ib396f4a28ddcfc5a4d95beb4a22dbd109d06b38e Reviewed-by: Kai Koehne <kai.koehne@digia.com>
-rw-r--r--plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp b/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp
index bcd1621913..c704865b5b 100644
--- a/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp
+++ b/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp
@@ -143,7 +143,7 @@ int SceneGraphTimelineModel::eventId(int index) const
QColor SceneGraphTimelineModel::color(int index) const
{
- return colorByEventId(eventId(index));
+ return colorByEventId(index);
}
QVariantList SceneGraphTimelineModel::labels() const