forked from qt-creator/qt-creator
Don't resolve the type ID twice when coloring scene graph events
Change-Id: Ib396f4a28ddcfc5a4d95beb4a22dbd109d06b38e Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -143,7 +143,7 @@ int SceneGraphTimelineModel::eventId(int index) const
|
|||||||
|
|
||||||
QColor SceneGraphTimelineModel::color(int index) const
|
QColor SceneGraphTimelineModel::color(int index) const
|
||||||
{
|
{
|
||||||
return colorByEventId(eventId(index));
|
return colorByEventId(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariantList SceneGraphTimelineModel::labels() const
|
QVariantList SceneGraphTimelineModel::labels() const
|
||||||
|
Reference in New Issue
Block a user