forked from qt-creator/qt-creator
QmlProfiler: cleaned up old commented code
Change-Id: I1d9a16bc02770a6f1c9a742c8342b0d32e291737 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
committed by
Kai Koehne
parent
4fde52bb7a
commit
a7f03f3b5b
@@ -78,7 +78,7 @@ void QmlProfilerSimpleModel::addRangedEvent(int type, int bindingType, qint64 st
|
||||
void QmlProfilerSimpleModel::addFrameEvent(qint64 time, int framerate, int animationcount)
|
||||
{
|
||||
qint64 duration = 1e9 / framerate;
|
||||
QmlEventData eventData = {tr("Animations"), QmlDebug::Painting, QmlDebug::AnimationFrame, time, duration, QStringList(), QmlDebug::QmlEventLocation(), framerate, animationcount, 0, 0, 0};
|
||||
QmlEventData eventData = {tr("Animations"), QmlDebug::Painting, QmlDebug::AnimationFrame, time - duration, duration, QStringList(), QmlDebug::QmlEventLocation(), framerate, animationcount, 0, 0, 0};
|
||||
eventList.append(eventData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user