forked from qt-creator/qt-creator
QmlProfiler: eliminate redundant categories() methods
Change-Id: I3a85322cc583de37f1cc4eb256e3382a92c5c179 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -47,7 +47,7 @@ void AbstractTimelineModel::setModelManager(QmlProfilerModelManager *modelManage
|
||||
QStringList AbstractTimelineModel::categoryTitles() const
|
||||
{
|
||||
QStringList retString;
|
||||
for (int i = 0; i < categories(); i++)
|
||||
for (int i = 0; i < categoryCount(); i++)
|
||||
retString << categoryLabel(i);
|
||||
return retString;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user