Skip to content
Permalink
Browse files

Allow sorting

  • Loading branch information
nyalldawson committed May 18, 2020
1 parent 737aded commit 8afe047d61176da910750806a0067a83f181b2d7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/devtools/profiler/qgsprofilerpanelwidget.cpp
@@ -30,6 +30,7 @@ QgsProfilerPanelWidget::QgsProfilerPanelWidget( QgsRuntimeProfiler *profiler, QW

mTreeWidget->setColumnCount( 2 );
mTreeWidget->setHeaderLabels( QStringList() << tr( "Task" ) << tr( "Time (seconds)" ) );
mTreeWidget->setSortingEnabled( true );

std::function< void( const QString &topLevel, QTreeWidgetItem *parentItem, double parentCost ) > addGroup;
addGroup = [&]( const QString & topLevel, QTreeWidgetItem * parentItem, double parentCost )

0 comments on commit 8afe047

Please sign in to comment.
You can’t perform that action at this time.