summaryrefslogtreecommitdiff
path: root/plugins/qmlprofiler/qv8profilerdatamodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/qmlprofiler/qv8profilerdatamodel.cpp')
-rw-r--r--plugins/qmlprofiler/qv8profilerdatamodel.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/qmlprofiler/qv8profilerdatamodel.cpp b/plugins/qmlprofiler/qv8profilerdatamodel.cpp
index ab4c7b8fa8..406d010e80 100644
--- a/plugins/qmlprofiler/qv8profilerdatamodel.cpp
+++ b/plugins/qmlprofiler/qv8profilerdatamodel.cpp
@@ -274,12 +274,6 @@ void QV8ProfilerDataModel::QV8ProfilerDataModelPrivate::collectV8Statistics()
} else {
// On empty data, still add a fake root event
clearV8RootEvent();
- v8RootEvent.totalPercent = 100;
- QString rootEventHash = getHashStringForV8Event(
- tr("<program>"),
- tr("Main Program"));
- v8EventHash[rootEventHash] = new QV8EventData;
- *v8EventHash[rootEventHash] = v8RootEvent;
}
}