QmlProfiler: Modernize

modernize-*

Change-Id: Ibdf9c0ae91bf8a622facc7f323112b550f532f15
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Alessandro Portale
2018-11-24 12:14:44 +01:00
parent 383f0b9fcc
commit d1df55d128
42 changed files with 112 additions and 131 deletions

View File

@@ -45,15 +45,10 @@ class QmlProfilerRangeModel : public QmlProfilerTimelineModel
public:
struct Item {
Item() :
displayRowExpanded(1),
displayRowCollapsed(Constants::QML_MIN_LEVEL),
bindingLoopHead(-1) {}
// not-expanded, per type
int displayRowExpanded;
int displayRowCollapsed;
int bindingLoopHead;
int displayRowExpanded = 1;
int displayRowCollapsed = Constants::QML_MIN_LEVEL;
int bindingLoopHead = -1;
};
QmlProfilerRangeModel(QmlProfilerModelManager *manager, RangeType range,