summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/timelinemodelaggregator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmlprofiler/timelinemodelaggregator.cpp')
-rw-r--r--src/plugins/qmlprofiler/timelinemodelaggregator.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/qmlprofiler/timelinemodelaggregator.cpp b/src/plugins/qmlprofiler/timelinemodelaggregator.cpp
index 53a16db813..1fa83585de 100644
--- a/src/plugins/qmlprofiler/timelinemodelaggregator.cpp
+++ b/src/plugins/qmlprofiler/timelinemodelaggregator.cpp
@@ -174,8 +174,6 @@ bool TimelineModelAggregator::expanded(int modelIndex, int category) const
void TimelineModelAggregator::setExpanded(int modelIndex, int category, bool expanded)
{
-// int modelIndex = modelIndexForCategory(category);
-// category = correctedCategoryIndexForModel(modelIndex, categoryIndex);
d->modelList[modelIndex]->setExpanded(category, expanded);
}
@@ -196,8 +194,6 @@ int TimelineModelAggregator::rowCount(int modelIndex) const
const QString TimelineModelAggregator::categoryLabel(int modelIndex, int categoryIndex) const
{
-// int modelIndex = modelIndexForCategory(categoryIndex);
-// categoryIndex = correctedCategoryIndexForModel(modelIndex, categoryIndex);
return d->modelList[modelIndex]->categoryLabel(categoryIndex);
}
@@ -299,8 +295,6 @@ float TimelineModelAggregator::getHeight(int modelIndex, int index) const
const QVariantList TimelineModelAggregator::getLabelsForCategory(int modelIndex, int category) const
{
-// int modelIndex = modelIndexForCategory(category);
-// category = correctedCategoryIndexForModel(modelIndex, category);
return d->modelList[modelIndex]->getLabelsForCategory(category);
}