forked from qt-creator/qt-creator
QmlProfiler: Fix "Callee" vs "Caller" labels in statistics view
Change-Id: I28a134b0ae72bb87ad6849f0f70a5332ec019a50 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -914,7 +914,7 @@ void QmlProfilerStatisticsRelativesView::clear()
|
||||
|
||||
void QmlProfilerStatisticsRelativesView::updateHeader()
|
||||
{
|
||||
bool calleesView = qobject_cast<QmlProfilerStatisticsRelativesModel *>(d->model) != 0;
|
||||
bool calleesView = d->model->relation() == QmlProfilerStatisticsChilden;
|
||||
|
||||
if (treeModel()) {
|
||||
treeModel()->setColumnCount(5);
|
||||
|
||||
Reference in New Issue
Block a user