forked from qt-creator/qt-creator
		
	QmlProfiler: Rename occurrences of "title" to "displayName"
Also, remove categoryTitles() which isn't used anywhere. Change-Id: I919abf1221fb71d407eb04190d27180ed39b7b45 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
		@@ -94,14 +94,6 @@ void TimelineModelAggregator::addModel(AbstractTimelineModel *m)
 | 
			
		||||
    connect(m,SIGNAL(rowHeightChanged()),this,SIGNAL(rowHeightChanged()));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QStringList TimelineModelAggregator::categoryTitles() const
 | 
			
		||||
{
 | 
			
		||||
    QStringList retString;
 | 
			
		||||
    foreach (const AbstractTimelineModel *modelProxy, d->modelList)
 | 
			
		||||
        retString << modelProxy->title();
 | 
			
		||||
    return retString;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int TimelineModelAggregator::count(int modelIndex) const
 | 
			
		||||
{
 | 
			
		||||
    if (modelIndex == -1) {
 | 
			
		||||
@@ -158,9 +150,9 @@ int TimelineModelAggregator::rowCount(int modelIndex) const
 | 
			
		||||
    return d->modelList[modelIndex]->rowCount();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const QString TimelineModelAggregator::title(int modelIndex) const
 | 
			
		||||
QString TimelineModelAggregator::displayName(int modelIndex) const
 | 
			
		||||
{
 | 
			
		||||
    return d->modelList[modelIndex]->title();
 | 
			
		||||
    return d->modelList[modelIndex]->displayName();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int TimelineModelAggregator::rowMinValue(int modelIndex, int row) const
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user