forked from qt-creator/qt-creator
QmlProfiler: Remove lastTimeMark()
It's unused and there is no point in having it as you can retrieve the time span from zoomControl Change-Id: I474ecf4ee6c183ac8b97bbac9c47618f52d956c0 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -129,19 +129,6 @@ bool TimelineModelAggregator::eventAccepted(const QmlProfilerDataModel::QmlEvent
|
||||
return true;
|
||||
}
|
||||
|
||||
qint64 TimelineModelAggregator::lastTimeMark() const
|
||||
{
|
||||
qint64 mark = -1;
|
||||
foreach (const AbstractTimelineModel *modelProxy, d->modelList) {
|
||||
if (!modelProxy->isEmpty()) {
|
||||
qint64 mk = modelProxy->lastTimeMark();
|
||||
if (mark > mk)
|
||||
mark = mk;
|
||||
}
|
||||
}
|
||||
return mark;
|
||||
}
|
||||
|
||||
int TimelineModelAggregator::height(int modelIndex) const
|
||||
{
|
||||
return d->modelList[modelIndex]->height();
|
||||
|
||||
Reference in New Issue
Block a user